Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local driver = whoever is the driver of the car
- game.Players.PlayerRemoving:Connect(function(player)
- if player.Name == driver.Name then
- script.Parent.Parent:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement