-- Silly's Executor (Right-side Controls, Clean Version, Full) if not game:IsLoaded() then game.Loaded:Wait() end local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer -- RemoteEvent for server execution local Remote = ReplicatedStorage:FindFirstChild("SillyServerExecutor") if not Remote then Remote = Instance.new("RemoteEvent") Remote.Name = "SillyServerExecutor" Remote.Parent = ReplicatedStorage end -- Server execution hook spawn(function() if not _G.SillyExecutorServerHooked then _G.SillyExecutorServerHooked = true Remote.OnServerEvent:Connect(function(sender, code) local success, err = pcall(function() loadstring(code)() end) if not success then warn("Server-side error from " .. sender.Name .. ": " .. err) end end) end end) -- GUI local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "SillyExecutorGUI" ScreenGui.Parent = player:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 500, 0, 280) Frame.Position = UDim2.new(0.5, -250, 0.5, -140) Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Frame.BorderColor3 = Color3.fromRGB(200, 0, 0) Frame.BorderSizePixel = 3 Frame.Parent = ScreenGui -- Dragging local dragging, dragStart, startPos local function update(input) 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 Frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch 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) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then update(input) end end) -- Title local Title = Instance.new("TextLabel") Title.Size = UDim2.new(0, 200, 0, 30) Title.Position = UDim2.new(0, 10, 0, 0) Title.BackgroundColor3 = Color3.fromRGB(25, 0, 0) Title.BorderSizePixel = 0 Title.Text = "Silly's Executor" Title.TextColor3 = Color3.fromRGB(255, 0, 0) Title.TextScaled = true Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = Frame -- TextBox local TextBox = Instance.new("TextBox") TextBox.Size = UDim2.new(0, 350, 0, 150) TextBox.Position = UDim2.new(0, 10, 0, 40) TextBox.PlaceholderText = "Paste Lua code or require ID here..." TextBox.TextWrapped = true TextBox.TextXAlignment = Enum.TextXAlignment.Left TextBox.TextYAlignment = Enum.TextYAlignment.Top TextBox.ClearTextOnFocus = false TextBox.BackgroundColor3 = Color3.fromRGB(30, 0, 0) TextBox.TextColor3 = Color3.fromRGB(255, 0, 0) TextBox.Parent = Frame -- Right-side column X start local columnX = 370 local columnWidth = Frame.Size.X.Offset - columnX - 10 -- right padding -- Clear Button local ClearButton = Instance.new("TextButton") ClearButton.Size = UDim2.new(0, 100, 0, 35) ClearButton.Position = UDim2.new(0, columnX + (columnWidth-100)/2, 0, 40) ClearButton.BackgroundColor3 = Color3.fromRGB(100, 0, 0) ClearButton.Text = "Clear" ClearButton.TextColor3 = Color3.fromRGB(255, 255, 255) ClearButton.Parent = Frame -- Minus button (aligned left of Clear) local verticalGap = 5 local MinusButton = Instance.new("TextButton") MinusButton.Size = UDim2.new(0, 30, 0, 30) MinusButton.Position = UDim2.new(0, ClearButton.Position.X.Offset, 0, ClearButton.Position.Y.Offset - 30 - verticalGap) MinusButton.BackgroundColor3 = Color3.fromRGB(80, 0, 0) MinusButton.Text = "-" MinusButton.TextColor3 = Color3.fromRGB(255, 255, 255) MinusButton.Parent = Frame -- X button (aligned right of Clear) local XButton = Instance.new("TextButton") XButton.Size = UDim2.new(0, 30, 0, 30) XButton.Position = UDim2.new(0, ClearButton.Position.X.Offset + ClearButton.Size.X.Offset - 30, 0, ClearButton.Position.Y.Offset - 30 - verticalGap) XButton.BackgroundColor3 = Color3.fromRGB(80, 0, 0) XButton.Text = "X" XButton.TextColor3 = Color3.fromRGB(255, 255, 255) XButton.Parent = Frame -- Show GUI button local ShowButton MinusButton.MouseButton1Click:Connect(function() Frame.Visible = false if not ShowButton then ShowButton = Instance.new("TextButton") ShowButton.Size = UDim2.new(0, 120, 0, 35) ShowButton.Position = UDim2.new(1, -130, 0, 10) -- top-right corner ShowButton.BackgroundColor3 = Color3.fromRGB(80, 0, 0) ShowButton.Text = "Show GUI" ShowButton.TextColor3 = Color3.fromRGB(255, 255, 255) ShowButton.Font = Enum.Font.SourceSansBold ShowButton.TextScaled = true ShowButton.AutoButtonColor = true ShowButton.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 10) UICorner.Parent = ShowButton ShowButton.MouseButton1Click:Connect(function() Frame.Visible = true ShowButton:Destroy() ShowButton = nil end) end end) -- Close GUI completely XButton.MouseButton1Click:Connect(function() Frame:Destroy() if ShowButton then ShowButton:Destroy() end end) -- Bottom execute buttons local buttonHeight = 30 local spacing = 10 local buttonWidth = (Frame.Size.X.Offset - (spacing * 5)) / 4 local ExecuteButton = Instance.new("TextButton") ExecuteButton.Size = UDim2.new(0, buttonWidth, 0, buttonHeight) ExecuteButton.Position = UDim2.new(0, spacing, 1, -buttonHeight - spacing) ExecuteButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0) ExecuteButton.Text = "Execute (Client)" ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255) ExecuteButton.Parent = Frame local ServerButton = Instance.new("TextButton") ServerButton.Size = UDim2.new(0, buttonWidth, 0, buttonHeight) ServerButton.Position = UDim2.new(0, buttonWidth + spacing * 2, 1, -buttonHeight - spacing) ServerButton.BackgroundColor3 = Color3.fromRGB(180, 0, 0) ServerButton.Text = "Execute (Server)" ServerButton.TextColor3 = Color3.fromRGB(255, 255, 255) ServerButton.Parent = Frame local RequireClientButton = Instance.new("TextButton") RequireClientButton.Size = UDim2.new(0, buttonWidth, 0, buttonHeight) RequireClientButton.Position = UDim2.new(0, buttonWidth * 2 + spacing * 3, 1, -buttonHeight - spacing) RequireClientButton.BackgroundColor3 = Color3.fromRGB(150, 0, 0) RequireClientButton.Text = "Require (Client)" RequireClientButton.TextColor3 = Color3.fromRGB(255, 255, 255) RequireClientButton.Parent = Frame local RequireServerButton = Instance.new("TextButton") RequireServerButton.Size = UDim2.new(0, buttonWidth, 0, buttonHeight) RequireServerButton.Position = UDim2.new(0, buttonWidth * 3 + spacing * 4, 1, -buttonHeight - spacing) RequireServerButton.BackgroundColor3 = Color3.fromRGB(120, 0, 0) RequireServerButton.Text = "Require (Server)" RequireServerButton.TextColor3 = Color3.fromRGB(255, 255, 255) RequireServerButton.Parent = Frame -- Button functions ExecuteButton.MouseButton1Click:Connect(function() local code = TextBox.Text if code ~= "" then local success, err = pcall(function() loadstring(code)() end) if not success then warn("Client error: "..err) end end end) ServerButton.MouseButton1Click:Connect(function() local code = TextBox.Text if code ~= "" then Remote:FireServer(code) end end) RequireClientButton.MouseButton1Click:Connect(function() local input = TextBox.Text if input ~= "" then local code = tonumber(input) and ("require("..input..")") or input local success, err = pcall(function() loadstring(code)() end) if not success then warn("Require client error: "..err) end end end) RequireServerButton.MouseButton1Click:Connect(function() local input = TextBox.Text if input ~= "" then local code = tonumber(input) and ("require("..input..")") or input Remote:FireServer(code) end end) ClearButton.MouseButton1Click:Connect(function() TextBox.Text = "" end)