I am coding for a breaking point type game, and I am trying to get it so if the player hasn't typed anything after the time limit, they get sent to the lobby.
The problem is, I do not know how to check if the player hasn't typed anything at all.
This is what I have so far.
local Teams = game:GetService("Teams") _G.ChatInputStorage = function(Chat, Player) local storage = "" if Chat > 6 or Chat < 1 then print('bad input') if _G.Time == 0 and Chat == "" then Player.Team = Teams.Lobby Player.Character.Humanoid.Health = 0 end end end
Thanks.