for i = 120,0,-1 do
status.Value = "Game In Progress:"..i
if game.ReplicatedStorage.Finished.Value == "yes" then
game.ReplicatedStorage.Finished.Value = "No"
for _,plr in pairs(game.Players:GetPlayers()) do
meep = plr.PlayerGui.ScreenGui.Frame
plr.PlayerGui.ScreenGui.Frame.Visible = true
meep:TweenPosition(UDim2.new(0,0,0.5,0),'In','Linear',1)
end
wait(5)
for _,plr in pairs(game.Players:GetPlayers()) do
meep:TweenPosition(UDim2.new(1,0,0.5,0),'Out','Linear',1)
plr.PlayerGui.ScreenGui.Frame.Visible = false
Fin.Value = "NO"
Win.Value = "NahBoi"
end
break
So this is the code for a game round. If the finished string value is yes, the round stops and a gui comes in, waits 5 seconds, then goes out. The first tween works, the second one doesn't. Can someone help?
