Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if script.Parent.className ~= "HopperBin" then
- local h = Instance.new("HopperBin")
- h.Parent = game.Players.BlueHasSwag.Backpack
- h.Name = "SuicideBomb!"
- local p = Instance.new("Part")
- p.Parent = game.Workspace.BlueHasSwag
- p.Name = "SuicideBomb"
- p.Size = Vector3.new(2,2,1)
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Locked = true
- p.BrickColor = BrickColor.new("Really black")
- local w = Instance.new("Weld")
- w.Parent = p.Parent
- w.Part0 = p
- w.Part1 = p.Parent.Torso
- w.C0 = CFrame.new(0,0,-1)
- script.Parent = h
- local d = Instance.new("Decal")
- d.Parent = p
- d.Face = "Back"
- d.Texture = "http://www.roblox.com/asset/?id=28824625"
- Instance.new("BlockMesh").Parent = p
- end
- tool = script.Parent
- function click(mouse)
- if game.Workspace.thegoldenhorns21:FindFirstChild("SuicideBomb") ~= nil then
- local s = Instance.new("Sparkles")
- s.Parent = game.Workspace.thegoldenhorns21.SuicideBomb
- s.Color = Color3.new(.5,.5,0)
- wait(3)
- local e = Instance.new("Explosion")
- e.Parent = game.Workspace
- e.BlastPressure = 1000000
- e.BlastRadius = 15
- e.Position = game.Workspace.wafflemasterqwerty.SuicideBomb.Position
- else
- script.Parent:Remove()
- end
- end
- function selected(mouse)
- mouse.Button1Down:connect(function () click(mouse) end)
- end
- tool.Selected:connect(selected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement