I need this for a car that regenerates and gets removed depending on who got in it first after it regenerated.
✓ ANSWER ACCEPTED
How can I get a players id when they sit in a seat?
1 answer
✓ Accepted answer
You can use the touched event.
script.Parent.Touched:connect(function(char)
player = game.Players:FindFirstChild(char.Parent.Name)
userid = player.UserId
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
