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

How do i make a certain player spawn at a certain spawn point?

Asked by 7 years ago

I have tried scripting it my own way but it doesn't work.How do i do it?

0
You could use a spawn location. raspyjessie 117 — 7y

2 answers

Log in to vote
0
Answered by 7 years ago

You might want to try teleporting the player to a custom location once they spawn. Example:

player = --player you want teleported
location = Vector3.new(0,5,0)--Where you want them teleported
while not player.Character do wait() end --Wait for character to spawn
player.Character.PrimaryPart.CFrame = CFrame.new(location) --Teleport them

Doing it this way, you can set your own spawn points based on any number of factors.

0
Thanks KawaiiX_Jimin 54 — 7y
Ad
Log in to vote
0
Answered by 7 years ago

Or adding a spawnpoint could be a way to do it without scripts

Answer this question