local Converted = { ["_executor gui"] = Instance.new("ScreenGui"); ["_Frame"] = Instance.new("Frame"); ["_Run Button"] = Instance.new("TextButton"); ["_Script input Box"] = Instance.new("TextBox"); ["_TextLabel"] = Instance.new("TextLabel"); ["_Clear Script Button"] = Instance.new("TextButton"); ["_Copy Script Button"] = Instance.new("TextButton"); } -- Setup GUI Converted["_executor gui"].Name = "executor gui" Converted["_executor gui"].Parent = (gethui and gethui()) or game:GetService("CoreGui") Converted["_executor gui"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling local frame = Converted["_Frame"] frame.BackgroundColor3 = Color3.fromRGB(255, 0, 0) frame.BorderColor3 = Color3.fromRGB(0, 0, 0) frame.BorderSizePixel = 0 frame.Position = UDim2.new(0.365, 0, 0.23, 0) frame.Size = UDim2.new(0, 477, 0, 269) frame.Parent = Converted["_executor gui"] local runButton = Converted["_Run Button"] runButton.Font = Enum.Font.SourceSans runButton.Text = "Run The Script" runButton.TextColor3 = Color3.fromRGB(0, 0, 0) runButton.TextSize = 25 runButton.BackgroundColor3 = Color3.fromRGB(56, 255, 34) runButton.BorderColor3 = Color3.fromRGB(0, 0, 0) runButton.BorderSizePixel = 0 runButton.Position = UDim2.new(0.07, 0, 0.51, 0) runButton.Size = UDim2.new(0, 403, 0, 54) runButton.Name = "Run Button" runButton.Parent = frame local scriptBox = Converted["_Script input Box"] scriptBox.Font = Enum.Font.SourceSans scriptBox.Text = "" scriptBox.PlaceholderText = "Enter Script here" scriptBox.TextColor3 = Color3.fromRGB(0, 0, 0) scriptBox.TextSize = 20 scriptBox.BackgroundColor3 = Color3.fromRGB(56, 255, 34) scriptBox.BorderColor3 = Color3.fromRGB(0, 0, 0) scriptBox.BorderSizePixel = 0 scriptBox.Position = UDim2.new(0.21, 0, 0.28, 0) scriptBox.Size = UDim2.new(0, 276, 0, 50) scriptBox.Name = "Script input Box" scriptBox.Parent = frame local textLabel = Converted["_TextLabel"] textLabel.Font = Enum.Font.SourceSans textLabel.Text = "Sm0kekidd executor (F*CK Roblox) (Client)" textLabel.TextColor3 = Color3.fromRGB(0, 0, 0) textLabel.TextSize = 20 textLabel.BackgroundColor3 = Color3.fromRGB(0, 255, 247) textLabel.BorderColor3 = Color3.fromRGB(0, 0, 0) textLabel.BorderSizePixel = 0 textLabel.Position = UDim2.new(0.04, 0, 0.05, 0) textLabel.Size = UDim2.new(0, 438, 0, 50) textLabel.Parent = frame local clearButton = Converted["_Clear Script Button"] clearButton.Font = Enum.Font.SourceSans clearButton.Text = "Clear Script" clearButton.TextColor3 = Color3.fromRGB(0, 0, 0) clearButton.TextSize = 25 clearButton.BackgroundColor3 = Color3.fromRGB(56, 255, 34) clearButton.BorderColor3 = Color3.fromRGB(0, 0, 0) clearButton.BorderSizePixel = 0 clearButton.Position = UDim2.new(0.52, 0, 0.77, 0) clearButton.Size = UDim2.new(0, 191, 0, 50) clearButton.Name = "Clear Script Button" clearButton.Parent = frame local copyButton = Converted["_Copy Script Button"] copyButton.Font = Enum.Font.SourceSans copyButton.Text = "Copy Script" copyButton.TextColor3 = Color3.fromRGB(0, 0, 0) copyButton.TextSize = 25 copyButton.BackgroundColor3 = Color3.fromRGB(56, 255, 34) copyButton.BorderColor3 = Color3.fromRGB(0, 0, 0) copyButton.BorderSizePixel = 0 copyButton.Position = UDim2.new(0.07, 0, 0.77, 0) copyButton.Size = UDim2.new(0, 191, 0, 50) copyButton.Name = "Copy Script Button" copyButton.Parent = frame -- Dragging logic local UIS = game:GetService("UserInputService") local dragging = false local dragInput, dragStart, startPos frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = 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) UIS.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) -- Run button script runButton.MouseButton1Click:Connect(function() local code = scriptBox.Text if code == "" then warn("Please enter some Lua code in the TextBox!") return end local func, err = loadstring(code) if not func then warn("Error compiling code:", err) return end local success, result = pcall(func) if success then print("Code executed successfully:", result) else warn("Error running code:", result) end end) -- Clear script button clearButton.MouseButton1Click:Connect(function() scriptBox.Text = "" end) -- Copy script button copyButton.MouseButton1Click:Connect(function() if scriptBox.Text ~= "" then if setclipboard then setclipboard(scriptBox.Text) print("Script copied to clipboard!") else warn("setclipboard not supported in this executor.") end else warn("Textbox is empty, nothing to copy.") end end)