spoonish

explosion lag script

Apr 2nd, 2018
3,082
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[original script from 1STdewGmzTvThailand]]
  2.  
  3.  
  4.  
  5. --I am going to make this a little quick, so if you get lost, please go back in the vid xD
  6.  
  7. plr = game.Players.LocalPlayer
  8. mouse = plr:GetMouse()
  9. --This has to be a local script.
  10. function onClicked()
  11. local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.  
  12. x.Position = mouse.Hit.p
  13. x.BlastRadius = 15999999999999999999e999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  14. x.BlastPressure = 9999999999999999999999999999999999999e999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  15.  
  16. local s = Instance.new("Sound")
  17.  
  18. s.Name = "Sound"
  19. s.SoundId = "http://www.roblox.com/asset/?id=142633540"
  20. s.Volume = 2
  21. s.Looped = true
  22. s.archivable = false
  23. end
  24. mouse.Button1Down:connect(onClicked)
  25.  
  26. --If you are making a script that requires a key down or mouse button down, you need to recall your function. Like so:
  27. --mouse.Button1Down:connect(onClicked)
  28. --[[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()
  29. Well, enjoy.  I will make this a free model and link in the description.  Time to test this out :3 
  30.    
  31.     ]]
Add Comment
Please, Sign In to add comment