Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local plrGui = plr.PlayerGui
- local pjGui = Instance.new("ScreenGui")
- pjGui.Parent = plrGui
- local frame = Instance.new("Frame")
- frame.Position = UDim2.new(0, 0, 0.26, 0)
- frame.Parent = pjGui
- frame.Size = UDim2.new(0, 244, 0, 237)
- frame.BackgroundColor3 = Color3.new(85, 0, 255)
- frame.BackgroundTransparency = 0.9
- local resetButton = Instance.new("TextButton")
- resetButton.Parent = frame
- resetButton.Text = "Reset"
- resetButton.Size = UDim2.new(0, 244, 0, 28)
- resetButton.Style = "RobloxRoundDropdownButton"
- resetButton.MouseButton1Click:Connect(function()
- char.Humanoid.Health = 0
- end)
- local spawnButton = Instance.new("TextButton")
- spawnButton.Parent = frame
- spawnButton.Text = "TP: Spawn"
- spawnButton.Size = UDim2.new(0, 244, 0, 28)
- spawnButton.Style = "RobloxRoundDropdownButton"
- spawnButton.Position = UDim2.new(0, 0, 0, 29)
- spawnButton.MouseButton1Click:Connect(function()
- char:MoveTo(Vector3.new(1341, 875, -546))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement