Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I fix this script to make my player spawn in with a car?

I am making a script that can make the player spawn inside my game with a car. When they die, the car disappears and goes back to the player where they end up attached once more, in other words, the player must always be seated inside a car. Secondly, I want the car to always be attached to the player, even when being teleported.

Here is my script:

(function) when the player spawns into the game put them in that blue car on the end of the map then when they die delete the car and spawn a new car and have them in the car so anyways the player is always in a car then when they teleport keep them in the car (endfunction)

3 comments

0

Can someone help me with this?

1

That is not code..

1

That is not lua whatsoever... Please dont ask for help when you don't even know the basics.. use http://wiki.roblox.com/index.php?title=Scripting_Book to get the basics down.

1 answer

print("Learn to actually script")

1 comment

0

This isn't helpful or constructive.

This discussion is preserved as it was. New answers, comments, and votes are closed.