11k ping HELP ME PLEASE

so my game got 11k ping sometimes in an event and i can’t find the problem. someone please help me.
image
my game is survive flight 871:Survive Flight 871 [Potato plants UPDATE] - Roblox and then ping is in water mode

7 Likes

well

i do not meet the criteria

5 Likes

ye um sorry about that. anyways thanks for trying to help me

3 Likes

i don’t think it’s possible to nuke the player’s ping via code, you can nuke the framerate but not ping (do not quote me on that)

maybe it’s just an issue on your end?

4 Likes

so if it isen’t my code then what is it?. also i turned down the players to max 10 and that seems to fix it for now. but with like 20 people my ping went up to 80k

2 Likes

So what’s different between water mode and the other modes? I’d start with that.
Are you actually lagging in game?

1 Like

then it seems your internet isn’t able to download data from the server for some reason

or maybe it is something gamemode specific idk

3 Likes

make sure that you arnot sending too many remote events with large values
and make sure that your not making a very very heavy task on the server because it may lag the server

1 Like

i’m lagging in gmae yes, and the diffrens is just like the terrain and raft i would say

1 Like

Dang, 11k ping is like death sentence for your internet. By any chance is there any events that aren’t being disconnected?

3 Likes

I never disconnect my events :skull:

4 Likes

if you didnot add your events in a table they get disconnected automatically when the instance is destroyed

2 Likes

That’s why i did, its very helpful to disconnect events. I wouldn’t recommend AI to do it for you because it wasn’t able to do it for me. How many lines of code?

2 Likes

We’re talking maybe in 10s of thousands…

never faced any memory issues

1 Like

Brody is running on Cricket Wifi

2 Likes

How many events in your game do you currently have, round it if you need to

@TomPlays63 @OceanTubez
can i know what events are yall talking because i think am confused like Part.Touched / ChildAdded or what

Any events located in the code. Also @OceanTubez use the Find feature in studio on the scripting section and search for :Connect – that will make sure it looks for events

2 Likes

every wood in my game i use event

ok but connections get disconnected automaticly when a part is destroyed with :Destroy or debris service
and is there a reason to disconnect a connection from a part that still exist?