Volieb
(Vinny)
December 27, 2020, 9:27pm
#1
Hi there devforum. Hope you are all well.
I am trying to find out a way to make a seat only accessible by certain player(s). I know I could use a Seated
event, but that still puts them in the seat for a split second.
Is there any way to make players not be able to sit in a seat at all unless they have a certain User Id (for example)?
Tom_atoes
(Tom_atoes)
December 27, 2020, 9:31pm
#2
What is your use case? I believe you can disable seats and then create your own touched / interact function to only allow certain players in.
Volieb
(Vinny)
December 27, 2020, 9:33pm
#3
A car that only the owner can sit in the driver seat.
Tom_atoes
(Tom_atoes)
December 27, 2020, 9:33pm
#4
Disable the seat and then create your own interact event.
Volieb
(Vinny)
December 27, 2020, 9:34pm
#5
That could be done by using seat:Sit(humanoid)
right?
Tom_atoes
(Tom_atoes)
December 27, 2020, 9:34pm
#6
Yes, I would recommend using the new ProximityInput instances over a touched event as it is more user friendly.
3 Likes
Volieb
(Vinny)
December 27, 2020, 9:35pm
#7
Thank you, I will consider this.
1 Like
Synitx
(syn)
December 27, 2020, 9:35pm
#8
Hey there i have an example for you
that i’ve made a long time ago
sitTest.rbxm (3.5 KB)