Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
UserInputService = :()
player = Players.LocalPlayer
playerGui = player:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Parent = screenGui
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.TextColor3 = .(, , )
titleBar.Text =
titleBar.Font = .Font.SourceSansBold
titleBar.TextSize =
titleBar.Parent = frame
dragging
dragInput
dragStart
startPos
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
titleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
closeBtn = .()
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = .(, , )
closeBtn.TextColor3 = .(, , )
closeBtn.Text =
closeBtn.Font = .Font.SourceSansBold
closeBtn.TextSize =
closeBtn.Parent = titleBar
closeBtn.Activated:(()
screenGui:()
)
coinBtn = .()
coinBtn.Size = .(, , , )
coinBtn.Position = .(, , , )
coinBtn.BackgroundColor3 = .(, , )
coinBtn.TextColor3 = .(, , )
coinBtn.Text =
coinBtn.Font = .Font.SourceSansBold
coinBtn.TextSize =
coinBtn.Parent = frame
coinBtn.Activated:(()
success, err = (()
ReplicatedStorage:():():(, , )
)
success
(, err)
)
levelBtn = .()
levelBtn.Size = .(, , , )
levelBtn.Position = .(, , , )
levelBtn.BackgroundColor3 = .(, , )
levelBtn.TextColor3 = .(, , )
levelBtn.Text =
levelBtn.Font = .Font.SourceSansBold
levelBtn.TextSize =
levelBtn.Parent = frame
levelBtn.Activated:(()
success, err = (()
ReplicatedStorage:():():(, , )
)
success
(, err)
)
speedState =
speedBtn = .()
speedBtn.Size = .(, , , )
speedBtn.Position = .(, , , )
speedBtn.BackgroundColor3 = .(, , )
speedBtn.TextColor3 = .(, , )
speedBtn.Text =
speedBtn.Font = .Font.SourceSansBold
speedBtn.TextSize =
speedBtn.Parent = frame
speedBtn.Activated:(()
speedState = speedState
speedBtn.Text = speedState
character = player.Character
character
humanoid = character:()
humanoid
humanoid.WalkSpeed = speedState
)
jumpState =
jumpBtn = .()
jumpBtn.Size = .(, , , )
jumpBtn.Position = .(, , , )
jumpBtn.BackgroundColor3 = .(, , )
jumpBtn.TextColor3 = .(, , )
jumpBtn.Text =
jumpBtn.Font = .Font.SourceSansBold
jumpBtn.TextSize =
jumpBtn.Parent = frame
jumpBtn.Activated:(()
jumpState = jumpState
jumpBtn.Text = jumpState
character = player.Character
character
humanoid = character:()
humanoid
humanoid.UseJumpPower =
humanoid.JumpPower = jumpState
)
💥 Destruction Simulator