Im making a gacha system for my game, when the player clicks on the GUI it checks the local copy of the player data to see if he can do that and if he can it fires a event that checks the server copy of that player to see if he can do that and if he can it does the “summon”, my question is whats the best approach to handle the server feedback (the units summoned), would it be for the server to fire a remote event or is there any better way to handle that?
My biggest fear is with delay, I want the client to get the feeback as fast as possible after clicking on the GUI.
I’d use a RemoteFunction that the client calls for the server to check if its valid. The delay in inevitable because you are sending data Client → Server → Client but a remotefunction will make your code cleaner
1 Like