-- PowerX Local Executor (Safe Local Script) -- Only visible on client, does not modify server or other players. local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "PowerX" ScreenGui.Parent = game:GetService("CoreGui") local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 350, 0, 250) Frame.Position = UDim2.new(0.5, -175, 0.5, -125) Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 35) Title.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Title.Text = "PowerX Local Executor" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.Font = Enum.Font.GothamBold Title.TextSize = 18 Title.Parent = Frame local CodeBox = Instance.new("TextBox") CodeBox.Size = UDim2.new(1, -20, 1, -80) CodeBox.Position = UDim2.new(0, 10, 0, 45) CodeBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15) CodeBox.TextColor3 = Color3.fromRGB(255, 255, 255) CodeBox.Font = Enum.Font.Code CodeBox.TextSize = 16 CodeBox.Text = "-- Enter local Lua code here" CodeBox.ClearTextOnFocus = false CodeBox.MultiLine = true CodeBox.Parent = Frame local Execute = Instance.new("TextButton") Execute.Size = UDim2.new(0.5, -15, 0, 35) Execute.Position = UDim2.new(0, 10, 1, -45) Execute.BackgroundColor3 = Color3.fromRGB(60, 150, 80) Execute.Text = "Execute" Execute.TextColor3 = Color3.fromRGB(255, 255, 255) Execute.Font = Enum.Font.GothamBold Execute.TextSize = 18 Execute.Parent = Frame local Clear = Instance.new("TextButton") Clear.Size = UDim2.new(0.5, -15, 0, 35) Clear.Position = UDim2.new(0.5, 5, 1, -45) Clear.BackgroundColor3 = Color3.fromRGB(150, 60, 60) Clear.Text = "Clear" Clear.TextColor3 = Color3.fromRGB(255, 255, 255) Clear.Font = Enum.Font.GothamBold Clear.TextSize = 18 Clear.Parent = Frame Execute.MouseButton1Click:Connect(function() local code = CodeBox.Text local func = loadstring(code) if func then pcall(func) else warn("PowerX Error: invalid code") end end) Clear.MouseButton1Click:Connect(function() CodeBox.Text = "" end) print("PowerX Local Executor Loaded (Client Only)")