27.07.2016, 12:48
I'd say you just need to look at your code and see what is laborious for the script.
If you've got something that does a for loop for all players, make sure you don't have 2 or 3 loops doing other things for the players in that same function.
Ensure you are using OnPlayerKeyStateChange and other callbacks correctly.
I'd also say this is the proper thread to use. I'm pretty sure the problem will be your code, and whatever you've added recently.
What have you put in in the past month?
If you've got something that does a for loop for all players, make sure you don't have 2 or 3 loops doing other things for the players in that same function.
Ensure you are using OnPlayerKeyStateChange and other callbacks correctly.
I'd also say this is the proper thread to use. I'm pretty sure the problem will be your code, and whatever you've added recently.
What have you put in in the past month?