Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a mouse click seat script?

Asked by 7 years ago
Edited 7 years ago

Traditionally when your character touches a part that has the seat property and onTouch, you immediately sit down and this doesn't require any scripting, but sometimes people mistakenly touch the part that has the properties and as a result educes annoyance to the player. I've found a way around this problem by coming up with a idea. I figured that instead of a onTouch i use a mouse click function, but sadly i have no idea how to go about this, if you have found the solution to this problem please submit your answer! Thank you.

0
Explain what you mean in more depth animelover6446 41 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

--This isn't a script. Merely an idea--

Maybe you could put a click detector on the seat. But make sure the seat isn't actually a seat, just a part. Then when you click on the part, you make it transparent and cannot collide. Then replace it with a seat that looks the same in the correct position. If they click again, the opposite happens. This is the best I could think of.

Ad

Answer this question