hawoody

Explosion On Click

Apr 16th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game.Players.LocalPlayer
  2. mouse = plr:GetMouse()
  3. --This has to be a local script.
  4. function onClicked()
  5. local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.  
  6. x.Position = mouse.Hit.p
  7. x.BlastRadius = 1000000000000000000000000000000000000
  8. x.BlastPressure = 9e9
  9. mouse.Button1Down:connect(onClicked)
  10. -- how to use? Just Left Click it gonna explode on u click XD
Add Comment
Please, Sign In to add comment