Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debounce = true
- function OnTouched(hit)
- if debounce == false then return end
- debounce = false
- script.Parent.Anchored = true
- wait(0.05)
- Boom2 = Instance.new("Explosion")
- Boom2.BlastRadius = 40
- Boom2.Parent = game.Workspace
- Boom2.Position = script.Parent.Position
- wait(0.5)
- Boom2:Remove()
- Boom = Instance.new("Part")
- Boom.Parent = game.Workspace
- Boom.formFactor = 0
- Boom.Shape = 0
- Boom.BrickColor = BrickColor:White()
- Boom.Position = script.Parent.Position
- Boom.Transparency = .25
- Boom.Size = Vector3.new(4, 1, 4)
- Boom.Anchored = true
- Boom.TopSurface = "Smooth"
- Boom.BottomSurface = "Smooth"
- script.Parent.Transparency = .5
- SC = script.Explosion:clone()
- SC.Disabled = false
- SC.Parent = Boom
- Grow = script.Grow
- GC = Grow:clone()
- GC.Disabled = false
- GC.Parent = Boom
- Stay = script.Stay
- C = Stay:clone()
- C.Disabled = false
- C.Parent = Boom
- Boom2 = Instance.new("Explosion")
- Boom2.BlastRadius = 40
- Boom2.Position = script.Parent.Position
- wait(0.5)
- Boom2:Remove()
- wait(5)
- script.Parent:Remove()
- wait(100)
- end
- script.Parent.Touched:connect(OnTouched)
- --Vector3.new(script.Parent.Position.x,script.Parent.Position.y + 250,script.Parent.Position.z)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement