Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- function onClicked()
- local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.
- x.Position = mouse.Hit.p
- s=Instance.new'Sound';
- s.Parent=workspace;
- s.SoundId='rbxassetid://1776706665'; --change sound id here
- s.Pitch=1;
- s.Volume=10;
- s:play();
- x.BlastRadius = 15
- x.BlastPressure = 9e9
- end
- mouse.Button1Down:connect(onClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement