I need this for a car that regenerates and gets removed depending on who got in it first after it regenerated.
You can use the touched event.
script.Parent.Touched:connect(function(char) player = game.Players:FindFirstChild(char.Parent.Name) userid = player.UserId end)