View difference between Paste ID: H5BWTZCN and D1FC3PJJ
SHOW: | | - or go back to the newest paste.
1
Fuse = script.Parent
2
3
function onTouched(hit)
4
Fuse.Smoke.Enabled = true
5
wait(5)
6
msg = coroutine.create(function()
7
	while wait(0.4) do
8
		msg = Instance.new("Message",workspace)
9
		msg.Text = "TACTICAL NUKE INCOMING"
10
		wait(0.4)
11
		msg:Destroy()
12
	end
13
end) 
14
explosion = Instance.new("Explosion")
15
explosion.BlastRadius = 20
16
explosion.BlastPressure = 100
17
explosion.Position = script.Parent.Position
18
explosion.Parent = game.Workspace
19
script.Parent.Parent:remove()
20
connection:disconnect()
21
end
22
coroutine.resume(msg)
23
connection = Fuse.Touched:connect(onTouched)