
KeylessUniversal

-- Roblox executor GUI script with draggable, removable, and toggle button
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
-- Create main ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "LuaUpdateExecutor"
ScreenGui.Parent = PlayerGui
-- Main Frame setup
local Frame = Instance.new("Frame")
Frame.Name = "MainFrame"
Frame.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Frame.Size = UDim2.new(0, 600, 0, 300)
Frame.Position = UDim2.new(0.5, -300, 0.5, -150)
Frame.AnchorPoint = Vector2.new(0.5, 0.5)
Frame.BorderSizePixel = 0
Frame.Parent = ScreenGui
-- Drag functionality
local dragging = false
local dragInput, mousePos, framePos
Frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
mousePos = input.Position
framePos = Frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
Frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - mousePos
Frame.Position = UDim2.new(framePos.X.Scale, framePos.X.Offset + delta.X, framePos.Y.Scale, framePos.Y.Offset + delta.Y)
end
end)
-- Title setup
local Title = Instance.new("TextLabel")
Title.Name = "Title"
Title.Parent = Frame
Title.Text = "Lua Update"
Title.TextColor3 = Color3.new(1, 1, 1) -- will be replaced by rainbow effect
Title.Font = Enum.Font.GothamBold
Title.TextSize = 28
Title.Size = UDim2.new(1, 0, 0, 40)
Title.BackgroundTransparency = 1
Title.Position = UDim2.new(0, 0, 0, 10)
-- Description setup
local Description = Instance.new("TextLabel")
Description.Name = "Description"
Description.Parent = Frame
Description.Text = "Made by AvtorExp (TD)"
Description.TextColor3 = Color3.new(1, 1, 1)
Description.Font = Enum.Font.Gotham
Description.TextSize = 16
Description.Size = UDim2.new(1, 0, 0, 20)
Description.BackgroundTransparency = 1
Description.Position = UDim2.new(0, 0, 0, 50)
-- Executor text box on the left
local ExecutorBox = Instance.new("TextBox")
ExecutorBox.Name = "ExecutorBox"
ExecutorBox.Parent = Frame
ExecutorBox.BackgroundColor3 = Color3.new(1, 0, 0) -- Red
ExecutorBox.Size = UDim2.new(0.6, -10, 0.75, 0)
ExecutorBox.Position = UDim2.new(0, 10, 0, 70)
ExecutorBox.ClearTextOnFocus = false
ExecutorBox.Text = "-- Write Lua code here"
ExecutorBox.TextColor3 = Color3.new(1, 1, 1)
ExecutorBox.TextWrapped = true
ExecutorBox.TextXAlignment = Enum.TextXAlignment.Left
ExecutorBox.TextYAlignment = Enum.TextYAlignment.Top
ExecutorBox.Font = Enum.Font.Code
ExecutorBox.TextSize = 16
ExecutorBox.MultiLine = true
-- Buttons frame on right
local ButtonsFrame = Instance.new("Frame")
ButtonsFrame.Name = "ButtonsFrame"
ButtonsFrame.Parent = Frame
ButtonsFrame.Size = UDim2.new(0.35, 0, 0.75, 0)
ButtonsFrame.Position = UDim2.new(0.65, 0, 0, 70)
ButtonsFrame.BackgroundTransparency = 1
-- Rainbow effect function for buttons and title text
local function rainbowEffectGui(element, isText)
local hue = 0
spawn(function()
while element.Parent do
hue = (hue + 0.01) % 1
if isText then
element.TextColor3 = Color3.fromHSV(hue, 1, 1)
else
element.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
end
wait(0.03)
end
end)
end
-- Apply rainbow to title text
rainbowEffectGui(Title, true)
-- Create buttons (inj, cle, exe)
local injButton = Instance.new("TextButton")
local cleButton = Instance.new("TextButton")
local exeButton = Instance.new("TextButton")
local buttons = {
{btn = injButton, text = "inj"},
{btn = cleButton, text = "cle"},
{btn = exeButton, text = "exe"},
}
for i, info in ipairs(buttons) do
local btn = info.btn
btn.Parent = ButtonsFrame
btn.Size = UDim2.new(1, 0, 0, 60)
btn.Position = UDim2.new(0, 0, 0, (i-1)*70)
btn.Text = info.text
btn.Font = Enum.Font.GothamBold
btn.TextSize = 24
btn.TextColor3 = Color3.new(1, 1, 1)
btn.BackgroundColor3 = Color3.fromHSV(0, 1, 1)
btn.BorderSizePixel = 0
btn.AutoButtonColor = false
btn.TextScaled = true
rainbowEffectGui(btn, false)
end
-- Example button functionality
exeButton.MouseButton1Click:Connect(function()
local success, err = pcall(function()
loadstring(ExecutorBox.Text)()
end)
if not success then
warn("Error executing script: " .. err)
end
end)
cleButton.MouseButton1Click:Connect(function()
ExecutorBox.Text = ""
end)
injButton.MouseButton1Click:Connect(function()
print("Injection button pressed!")
end)
-- Remove button on top right corner
local removeBtn = Instance.new("TextButton")
removeBtn.Name = "RemoveButton"
removeBtn.Parent = Frame
removeBtn.Text = "X"
removeBtn.Size = UDim2.new(0, 30, 0, 30)
removeBtn.Position = UDim2.new(1, -35, 0, 5)
removeBtn.BackgroundColor3 = Color3.new(1, 0, 0)
removeBtn.TextColor3 = Color3.new(1, 1, 1)
removeBtn.Font = Enum.Font.GothamBold
removeBtn.TextSize = 20
removeBtn.BorderSizePixel = 0
removeBtn.AutoButtonColor = false
removeBtn.TextScaled = true
-- Show Lua toggle button (initially hidden)
local showLuaBtn = Instance.new("TextButton")
showLuaBtn.Name = "ShowLuaButton"
showLuaBtn.Parent = ScreenGui
showLuaBtn.Text = "Show Lua"
showLuaBtn.Size = UDim2.new(0, 120, 0, 40)
showLuaBtn.Position = UDim2.new(0, 10, 0.5, -20)
showLuaBtn.BackgroundColor3 = Color3.fromHSV(0,1,1)
showLuaBtn.TextColor3 = Color3.new(1, 1, 1)
showLuaBtn.Font = Enum.Font.GothamBold
showLuaBtn.TextSize = 20
showLuaBtn.BorderSizePixel = 0
showLuaBtn.AutoButtonColor = false
showLuaBtn.TextScaled = true
showLuaBtn.Visible = false
rainbowEffectGui(showLuaBtn, false)
-- Remove button functionality
removeBtn.MouseButton1Click:Connect(function()
Frame.Visible = false
removeBtn.Visible = false
showLuaBtn.Visible = true
end)
-- Show Lua button functionality
showLuaBtn.MouseButton1Click:Connect(function()
Frame.Visible = true
removeBtn.Visible = true
showLuaBtn.Visible = false
end)No comments yet for this script.

![[KEYLESS] Moondiety Script | 17+ supported Games](https://scriptblox.com/images/sb/0-1753093706828.png)

