Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- --This has to be a local script.
- function onClicked()
- local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.
- x.Position = mouse.Hit.p
- x.BlastRadius = 15
- x.BlastPressure = 9e9
- end
- mouse.Button1Down:connect(onClicked)
- -- how to use? Just Left Click it gonna explode on u click XD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement