Run it
Copy the script and paste it into your executor.
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.ResetOnSpawn = false
ScreenGui.DisplayOrder = 9999
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 200, 0, 100)
Frame.Position = UDim2.new(0.5, -100, 0.5, -50)
Frame.Parent = ScreenGui
local ButtonOn = Instance.new("TextButton")
ButtonOn.Size = UDim2.new(0, 100, 0, 50)
ButtonOn.Position = UDim2.new(0, 0, 0, )
ButtonOn.Text =
ButtonOn.Parent = Frame
ButtonOn.MouseButton1Click:(()
:().LocalPlayer.PlayerGui.MainGui.PS.Active =
:().LocalPlayer.PlayerGui.MainGui.PS.Visible =
)
ButtonOff = .()
ButtonOff.Size = .(, , , )
ButtonOff.Position = .(, , , )
ButtonOff.Text =
ButtonOff.Parent = Frame
ButtonOff.MouseButton1Click:(()
:().LocalPlayer.PlayerGui.MainGui.PS.Active =
:().LocalPlayer.PlayerGui.MainGui.PS.Visible =
)
CloseButton = .()
CloseButton.Size = .(, , , )
CloseButton.Position = .(, , , )
CloseButton.Text =
CloseButton.Parent = Frame
CloseButton.MouseButton1Click:(()
ScreenGui:()
)
ScreenGui.Parent = .Players.LocalPlayer:()
Ps panel