I plan on having a game with a bunch of drawers, cabinets and whatnot. The goal is to find something, so there will be a lot of drawers which means a lot of opening animations to play. I’m sure I should use remote events, so is it best to check players distances then send remote events? Or should I FireAllClients() then do the distance checking on the client? There’ll be a maximum of 14 players per server as well
Check if the player is in certain distance, then fire a remote event (do not fire for far away players to reduce the amount of events being fired) and on client when the event is received check last time for the distance then play the animation.
i don’t think using remotes is necessary, you could use proximity prompts or click detectors, and once they are triggered, set a bool value to true/false based on whether the cabinet/drawer is open or not. then you could listen for these changes on the client, and play the tweens accordingly