Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made By Ploxed
- -- Version 0.1
- -- Your A Qt
- local player = game.Players.LocalPlayer
- local gui = Instance.new("ScreenGui")
- local button = Instance.new("TextButton")
- local reset = Instance.new("TextButton")
- gui.Name = "Hackor Gui"
- gui.Parent = player.PlayerGui
- reset.Position = UDim2.new(0,0, 0,450)
- reset.Size = UDim2.new(0,100, 0,50)
- reset.Text = "Reset"
- reset.Parent = gui
- reset.Style = Enum.ButtonStyle.RobloxRoundButton
- reset.TextScaled = true
- button.Parent = gui
- button.Style = Enum.ButtonStyle.RobloxRoundButton
- button.Text = "Explode!"
- button.TextScaled = true
- button.Size = UDim2.new(0,150, 0,150)
- button.Position = UDim2.new(0,0, 0,260)
- button.MouseButton1Click:Connect(function()
- local ply = game.Players.LocalPlayer
- local explode = Instance.new("Explosion")
- explode.Position = ply.Character.HumanoidRootPart.Position
- explode.Parent = workspace
- end)
- reset.MouseButton1Click:Connect(function()
- player.Character.Humanoid.Health = 0
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement