Hi guys, below are two videos showcasing the strange behavior, and I’m unsure with what’s going on. I’m new to programming so fixing bugs like these is proving difficult for me. Has anyone got any ideas on what’s going on?
The highlight effect and the lever effect in general is on a module script, being called by a client script and then firing an event to a server script which runs its function for everyone in-game, if this helps?
The first clip is in-game
The second clip is in studio, which is the intended behavior
So, the module script is used to highlight the lever for the client, and when the client clicks on the level, an event is fired to the server so that everyone can see that the lever has been pulled? I might be mistaken, but I don’t think you need to fire an event to the server, as pulling the lever can be server side only, just the effects handled by the player need to be on the client? I would honestly try looking into the console in game and see if there are any errors popping up, comparing them inside of studio.