I want to make a seat for an exclusive vehicle that kills anyone whose user id isn’t specified.
You’ll have to listen for changes to the properties of the seat, and apply checks based on that. There’s some great example code on the wiki: https://developer.roblox.com/en-us/api-reference/class/Seat#detecting-seat-occupant
(It’s at the very bottom of that page)
So I can detect the occupant’s id and run something to kill them if they’re not the specified id?
You can. The example code that I linked to should be very easy to work off of. Where it says, “print(player.Name…” has sat down")" on line 16, you could implement your checks and kill the humanoid if the checks aren’t satisfied.
Sounds good, I’ll do this.