local Time = game.Workspace.Intermission.Value local Game = game.Workspace.Game.Value while true do wait(1) script.Parent.Text = Time Time = Time - 1 if Time == -1 then script.Parent.Text = Time == false if Time == false then wait(1) script.Parent.Text = Game Game = Game - 1 end end end
Time = the Intermission Time "15"
Game = the Game Time "60"
The error says: Players.NiceDerpling.PlayerGui.ScreenGui.TextBox.Script:10: bad argument #3 (string expected, got boolean)
time == false
gives a boolean
you can fix it by doing
tostring(time == false)