Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a gui appear when a player lags?

I have no script this time, lol.. Ok, so, I've searched google, nothing. I've searched scripting helpers, nothing. I've searched roblox models, nothing. So, anyone can help me? What i'm trying to do is a script that makes a gui appear when a player has lag, just like in lumber tycoon 2. I hope someone helps.. xD

1 comment

0

You could attempt to create a clock between the server and client, if the client clock falls behind then the server fires the client to display the gui.

1 answer

✓ Accepted answer
while true do
	local howLong = wait(.05)
	if howLong > .1 then
		addLagGui()
	end
end

This discussion is preserved as it was. New answers, comments, and votes are closed.