I’ve coded some stuff with a localscript and it’s for some reason making changes server side. All the changes are based on a .Touched() event on multiple parts and all of the script is transfering to the server when i need it to only work for the client.
Does anyone know why this happens and how to fix it?
From what I can see, that should be impossible. How do you know it makes changes on the server side? Perhaps you’re viewing it from another client’s perspective (ex. 2plr test) instead of the actual server?
When i touched a part it made changes for other players aswell, maybe it isn’t actually making server changes but i do need it to only work for the one client that triggered the action.
The button is only supposed to open the door for one player aswell as the flood is only supposed to start rising after the player touches the ground, but it’s happening for all players.
Can I get some more context? It;s quite hard to understand what’s happening in the video, like what door is supposed to open for the local player only?
If possible, I’d also like to see the hierarchy of your explorer as well as the full code of what was previewed above.
The game is essentially Flood Escape only it’s supposed to be singleplayer type version, every player presses the button and it only makes changes for them. The flood is also coded so it starts when the player first touches the ground.
Though what’s happening is that those changes are happening for all players. The beggining of the code is essentially just stablishing variables.
local redirectory1 = game.Workspace.Minigames.FloodEscape.Map1
local db1 = false
Thanks but in the video you didn’t show how the button looked in the other player’s perspective. The only thing I saw happen for both players was the water rising, so I’m guessing its a script that controls the water.