- What do you want to achieve?
I want to find out that if two remote events that are fired at nearly the same time, the first one that’s fired always runs first.
- What is the issue?
I’m not sure if there’s a small chance that the second remote event that’s fired can run first. I have a custom tool system and there’s two remote events that handle other players’ tools; an equip event and an unequip event. If, let’s say, an exploiter fired these two events side by side with the equip event firing on one line and on the very next line the unequip event firing. I tested this out, and so far the equip event always fully ran first from the start of the event to the end of it.
However, in case there’s a different situation where there’s a lot more calculations happening, the first event might run after the second event. The first and second remote events also don’t yield.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried testing it out on my own, but I’m not sure if there’s other facts I need to know. I also found no solutions on the Developer Hub.