spoonish

efrgtpijfepjogrtpjioriopjjgtopiiojgrg

Apr 2nd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this script is edited so the original belongs to their owner
  2.  
  3.  
  4.  
  5.  
  6. plr = game.Players.LocalPlayer
  7. mouse = plr:GetMouse()
  8. --This has to be a local script.
  9. function onClicked()
  10. local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.  
  11. x.Position = mouse.Hit.p
  12. x.BlastRadius = 15999999999999999999999999999999999999999999999999999999999999999999999999999e999999999999999999999999999999999999999999999999999999999999999999999999
  13. x.BlastPressure = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e9999999999999999999999999999999999999999999
  14. end
  15. mouse.Button1Down:connect(onClicked)
  16.  
  17. --If you are making a script that requires a key down or mouse button down, you need to recall your function. Like so:
  18. --mouse.Button1Down:connect(onClicked)
  19. --[[It really doesn't matter what you name your function.  As long as you have the () at the end of the name. I.D  function die()
  20. Well, enjoy.  I will make this a free model and link in the description.  Time to test this out :3 
  21.    
  22.     ]]
Add Comment
Please, Sign In to add comment