Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make it so players will spawn at separate parts? [closed]

Asked by 2 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

I need some code that will teleport players to their own parts (e.g. At the start of a game). I have tried so much scripting but decided it was best to get some help :( . I am making a racing game and would like to teleport players into their vehicles, not so they have to get into their vehicles. Any help would be very appreciated :)

0
Please post your code Soban06 410 — 2y

Closed as Non-Descriptive by JesseSong

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 2 years ago

Please encode Lua code in the Lua block code tag (look for the Lua icon in the editor).

local player = game.Players.LocalPlayer player.Character:MoveTo(seatofvehicleposition)

0
remember thank lehoaiquoc248 23 — 2y
0
What? he doesn't want the character to walk their automatically. He wants to teleport them to their car. Also this could mess up there's no pathfinding so the player could end up stuck against the wall MarkedTomato 810 — 2y
Ad