Cloning parent lags

:Clone lags server and clients.


What’s issue with this ?

Can you show the code that you’re using to clone objects?

Code.txt (10.0 KB)

You shouldn’t really be getting high ping if it’s done locally (relatively minimal) - potentially coincidence? For effects and stuff like this, it’s best to do it on the client.

1 Like

ok i will try this, i will let you know if it will work

Is it just fault of my poorly written code ?

Most likely not. Ping is caused by a delay in packets. Doing it locally will most likely reduce your ping massively. The only way it could be because of your code is if you spawned a lot of effects too quickly, which I don’t think is the case here.

ok, i dunno how make these effects for client, can you help with that ?

Alright! You basically copy your code from the serverscript you were using before and past it into the local script. Can I see the effects code that you had before?
One thing that hadn’t occured to me is that the effects may not be the leading cause of the ping. Do you think there might be anything else that is relatively intensive occuring?

i think it’s about effects cuz i was testing without them and everything worked fine and smooth, maybe i can give permission to my game you will check for yourself.

Main.txt (10.0 KB)
Nuke Script.txt (3.3 KB)
Smite Script.txt (546 Bytes)

Unfortunately I have to go now and revise, however, I am sure that there are some more DevForum members who would love to help, and I will come check it tomorrow if I have time.
Good luck!

Thx for for a bit of information

Exactly i made it local, only blimp works

Reviewing the clip again, are there any errors in the output connected to this? It might be why your CPU / Ping spikes.

no, any errors, only ping spikes