Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr=game.Players.LocalPlayer
- tool=Instance.new("HopperBin",plr.Backpack)
- loop=false
- mous=nil
- function bm(p)
- e=Instance.new("Explosion",Workspace)
- e.Position=p
- e.BlastPressure=0
- e.BlastRadius=math.random(100,500)
- end
- function bmm()
- if mous.Target~=nil then
- local p=Instance.new("Part",Workspace)
- game.Debris:AddItem(p,30)
- p.Anchored=true
- p.FormFactor="Custom"
- p.Size=Vector3.new(1,.2,1)
- p.CFrame=CFrame.new(mous.Hit.p)
- p.TopSurface=0
- p.BrickColor=BrickColor.Black()
- local pb=p:Clone()
- game.Debris:AddItem(pb,30)
- pb.Parent=Workspace
- pb.Size=Vector3.new(.5,4,.5)
- pb.CFrame=p.CFrame+Vector3.new(0,2,0)
- wait(1)
- local w=Instance.new("BodyVelocity",pb)
- w.maxForce=Vector3.new(0,4100,0)
- w.velocity=Vector3.new(0,50,0)
- pb.Anchored=false
- wait(math.random(200,400)/100)
- local s=Instance.new("Sound",pb)
- s.SoundId="rbxassetid://84796809"
- s.Pitch=math.random(75,125)/100
- s:Play()
- pb.Anchored=true
- pb.Parent=game.Debris
- bm(pb.Position)
- for a=1,math.random(40,60) do
- local z=p:clone()
- game.Debris:AddItem(z,1.5)
- z.Parent=Workspace
- z.CanCollide=false
- z.Anchored=false
- z.Size=Vector3.new(.5,.5,.5)
- z.CFrame=pb.CFrame
- z.Velocity=Vector3.new(math.random(-50,50),math.random(50,150),math.random(-50,50))
- z.BrickColor=BrickColor.Random()
- l=Instance.new("PointLight",z)
- l.Brightness=1337
- wait()
- end
- end
- end
- tool.Selected:connect(function(mou)
- mous=mou
- mous.Button1Down:connect(function()
- bmm()
- end)
- mous.Button2Down:connect(function()
- for a=1,50 do
- bmm()
- wait(0.1)
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment