Hope this help :)
CountDownScript:
local secs = script.Parent.Secs
while true do
if secs.Value == 0 then break else
secs.Value = secs.Value - 1
wait(1)
end
end
local function boom()
local explo = Instance.new("Explosion")
explo.Parent = workspace
explo.Position = script.Parent.Position
explo.BlastRadius = 10
script.Parent.Parent.Parent:Destroy()
end
boom()
----------
DisplayScript:
local par = script.Parent
local function changed()
par.Name = "Time left: " .. script.Parent.Head.Secs.Value .. " secs"
end
script.Parent.Head.Secs.changed:connect(changed)
Music: Alan Walker - Fade [NCS Release]
Music provided by: NoCopytightSounds: https://www.youtube.com/user/NoCopyrightSounds
Link to the track:
https://www.youtube.com/watch?v=bM7SZ5SBzyY
Artist: Alan Walker
? Facebook https://www.facebook.com/DJWalkzz
? SoundCloud https://soundcloud.com/walkzz
? Twitter https://twitter.com/IAmAlanWalker
? YouTube https://www.youtube.com/user/DjWalkzz
Subscribe to my channel:
https://www.youtube.com/channel/UC1YcXhEJ6-UH5nTqn1ht0Rg