Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --thank you for bringing this paste 1k views! :)
- hint = Instance.new("Hint",workspace)
- nuke = Instance.new("Part",workspace)
- nuke.Size = Vector3.new(5,50,5)
- nuke.Material = Enum.Material.DiamondPlate
- nuke.BrickColor = BrickColor.Gray()
- nuke.CFrame = CFrame.new(0,10000,0)
- bodypos = Instance.new("BodyPosition",nuke)
- bodypos.MaxForce = Vector3.new(100,100,100)
- bodypos.D = 100
- bodypos.P = 5
- bodypos.Position = Vector3.new(0,0,0)
- debounce = false
- size = 5
- waittime = 0.0001
- hint.Text = "TACTICAL NUKE! INCOMING!"
- nuke.Touched:connect(function()
- if debounce == false then
- debounce = true
- nuke.Anchored = true
- boomboom = Instance.new("Part",workspace)
- boomboom.BrickColor = BrickColor.new("Gold")
- boomboom.Shape = Enum.PartType.Ball
- boomboom.Anchored = true
- boomboom.Transparency = 0.5
- boomboom.TopSurface = Enum.SurfaceType.Smooth
- boomboom.BottomSurface = Enum.SurfaceType.Smooth
- boomboom.CanCollide = false
- boomboom.CFrame = CFrame.new(0,0,0)
- boomboom.Touched:connect(function(hit)
- hit:BreakJoints()
- end)
- while true do
- wait(waittime)
- expl = Instance.new("Explosion",workspace)
- hint.Text = "NUKE HAS GAINED "..tostring(boomboom.Size.Y).." STUDS OF SIZE!"
- expl.BlastPressure = 999
- expl.BlastRadius = size
- expl.Position = Vector3.new(0,0,0)
- boomboom.Size = boomboom.Size + Vector3.new(size,size,size)
- size = size + 0.001
- waittime = waittime - 0.001
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement