Advertisement
Ploxed

Explode Script/Body Parts Go Flying!

Nov 30th, 2021
3,077
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. -- Made By Ploxed
  2. -- Version 0.1
  3. -- Your A Qt
  4.  
  5. local player = game.Players.LocalPlayer
  6. local gui = Instance.new("ScreenGui")
  7. local button = Instance.new("TextButton")
  8. local reset = Instance.new("TextButton")
  9.  
  10. gui.Name = "Hackor Gui"
  11. gui.Parent = player.PlayerGui
  12. reset.Position = UDim2.new(0,0, 0,450)
  13. reset.Size = UDim2.new(0,100, 0,50)
  14. reset.Text = "Reset"
  15. reset.Parent = gui
  16. reset.Style = Enum.ButtonStyle.RobloxRoundButton
  17. reset.TextScaled = true
  18. button.Parent = gui
  19. button.Style = Enum.ButtonStyle.RobloxRoundButton
  20. button.Text = "Explode!"
  21. button.TextScaled = true
  22. button.Size = UDim2.new(0,150, 0,150)
  23. button.Position = UDim2.new(0,0, 0,260)
  24.  
  25. button.MouseButton1Click:Connect(function()
  26. local ply = game.Players.LocalPlayer
  27. local explode = Instance.new("Explosion")
  28. explode.Position = ply.Character.HumanoidRootPart.Position
  29. explode.Parent = workspace
  30. end)
  31.  
  32. reset.MouseButton1Click:Connect(function()
  33. player.Character.Humanoid.Health = 0
  34. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement