Hello I’m WikiHermanic and I’m currently having troubles making a tool script that makes a part transparent from a seat, what I’m currently making is an Aircraft Landing Gear system for my Plane.
I have tried using Values, RemoteEvents, and Serverside Scripts but none of them seems to work
This is an example screenshot of the Workspace:
I have seen other PlaneKits using a tool to make a part transparent
This is an example of a PlaneKit i found:
Instead of using a tool I’d run a localscript using User Input Service to detect a keystroke then send a remote event to the server to show/hide landing gear, but if you’re set on using a tool you could use a server script inside the tool and use .activated i think it is to detect when the tool is used like clicked.
Well if a tool parents to the vehicle the player can’t use it, but if you keep the tool in a tools folder inside the vehicle model then you could run a script in the vehicle that will move it to whatever player is in the seat, then can run all the .activated and whatnot. And once the player leaves move the tool back to the tools folder.
Plane (Model)
script
parts
Tools (folder)
landing gear tool
You would keep the landing gear tool inside that tools folder and then once the seat is used you would give the player who sat on it the tool, And then that player could control the landing gear n whatnot