Well, basically what happens, BOTH sounds play at the same time and "Kill all enemies" gui stays on screen all the time and it doesn't even reach "all enemies dead". halp
local s = Instance.new("Sound")
s.Name = ("Bellsounde")
s.Parent = game.Workspace
s.SoundId = "rbxassetid://138258242"
s.Volume = 4
local e = Instance.new("Sound")
e.Name = ("Bellsound")
e.Parent = game.Workspace
e.SoundId = "rbxassetid://6891548543"
e.Volume = 4
game.Workspace.trap.Touched:Connect(function()
for _,player in pairs(game.Players:GetPlayers()) do
for _,player in pairs(game.Players:GetPlayers()) do
player.PlayerGui.KILLALLENEMIES2.Enabled = true
e:Play()
wait(2)
player.PlayerGui.KILLALLENEMIES2.Frame.Visible = 0
end
wait(5)
for _,player in pairs(game.Players:GetPlayers()) do
player.PlayerGui.ALLENEMIESDEAD2.Enabled = true
s:Play()
wait(2)
player.PlayerGui.ALLENEMIESDEAD2.Frame.Visible = 0
end
end
end)

2 comments
Uh uh, doenst work
So you want the GUI to go?