What do you want to achieve?
pull a lever to open a door but only for client not for whole server,
What is the issue?
when person clicks the lever the door opens for everyone
its a proximity prompt door if that matters… I don’t understand how I would get the door and lever to only work via client if scripts are inside the part or either in server-scripts…
Use a ServerScript in the part to detect when the player has successfully triggered the prompt, then using a remote event do :FireClient() and have a local script listening for it. The local script should be in PlayerGui.