I made this script:
script.Parent.Explosion.Changed:Connect(function(value)
if value == true then
for i, player in pairs(game.Players:GetPlayers()) do
local gui = script.Parent.Meltdown1
gui:Clone().Parent = player.PlayerGui
wait(15)
player.PlayerGui.Meltdown1:Destroy()
script.Parent.Explosion.Value = false
end
end
end)
The problem is its working for first player, then waiting 15 seconds and only then start working for second player. I need it to work for every player at the same time. Can someone help me?

4 comments
You are using a loop. I think you may have to use a coroutine (don't get it mixed up with quarantine)
lol
And how to do it?
Check my answer.