So I’m making a game where i fire a remote event from Server to Client then wait a little then again to Server (Server → Client Wait A Little → Server) if the player uses Tab Glitch while the the client “Waiting” it’ll file only after the player stop tab glitching event if the wait ended.
The local script looks something like this:
remote.OnClientEvent:Connect(function()
task.wait(3) -- Wait 3 seconds
remote2:FireServer() --Won't fire until the player stops tab glitching!
end)
Add task.wait() to your server script. I’m afraid there is no way around this, because tab glitch completely freezes the client’s work.
Also I’m not sure if this will work, but try something like this:
remote.OnClientEvent:Connect(function()
task.delay(3, function() -- Wait 3 seconds
remote2:FireServer() --Won't fire until the player stops tab glitching!
end
end)