Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

server response delay when testing the game?

Asked by
lytew 99
4 years ago

I'm developing. there is a system of Money and therefore coins that increase your cash in the game. my question is as follows: When I tested the game (published and logged on the roblox server) the moment I took the coin, I could see a lag for the server to respond. (my ping was 222) is there any way to solve this? or could it be through the long scripts?

2 answers

Log in to vote
0
Answered by 4 years ago

Change your "Edit Equality Level" to Level 1 in Roblox Studio setting

Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

1.Your game has a large map.

Make chunks loading system or turn on StreamingEnabled

.

2.Too many NPCs.

In this case, if you don't really need Humanoid you can control them with script. Or if you really need Humanoid so turn off HumanoidStateType that is unnecessary.

And control all of NPCs in 1 script

.

3.The script that should not be used.

wait() read more here

spawn(function() use coroutine instead.

0
If you turn on StreamingEnabled so you need to add :WaitForChild() to every Local Script. Mr_m12Ck53 105 — 4y

Answer this question