So i tried making a Lever that when i click on the Hitbox (ClickDetector) that it will make 1 part transparent and the other one not so it looks like the lever is pulled.
I tired making a scirpt altough is suck at scripting.
i made this.
function
game.Workspace.SwitchTrack1.HandlePart1.Transparency = 1
else
game.Workspace.SwitchTrack2.HandlePart1.Transparency = 0
end
script.Parent.Show.Click.MouseClick:connect(act)
Anyone can help me with my script? Would be very appericiated.

1 comment
Would you like it to show up for only the client or the whole server when someone presses the lever?