Delayed script reactions?

For some reason , script reactions are delayed on my engine.
As an example :

  • When I touch a kill part , it does deal damage after 10 seconds?

  • When I shoot with any gun , bullets also appear after 10 or 5 seconds after shooting.

And yes , there is nothing wrong with scripts. This problem appeared 3 weeks before but it didn’t
caused much problem. Now it does. Also my equipment is good enough. I dont have any ideas
about why did this is happening , does anyone have any idea?

I am not going to lie here! It seems like you might be having a connection latency higher than normal to the Roblox servers. The scripts should be fine if you say so. Make sure to check that you didn’t accidently include any wait functions or anything!

If you say so , thanks anyway.

This might be caused due to memory leaks caused by not cleaning up variables and connections after use; Go through all your scripts and make sure to disconnect any unnecessary connections after use.

Did you check for any wait() code that may be slowing your script down?

No , like I said , there is nothing inside that causes delay.

So , after some time , I used this as an advantage . Im planning to use these delays for some kind of horror game. Thanks anyone that tried to help.