Is there a way to set a specific spawn point to a player.
I do not mean set a player’s spawn via the team.
Is there a way to set a specific spawn point to a player.
I do not mean set a player’s spawn via the team.
Should be in #help-and-feedback:scripting-support
I’m pretty sure you can’t assign a specific spawn point to a player
however you can have spawn block and manually teleport the player there
character.HumanoidRootPart.CFrame = playerSpawn.CFrame + Vector3.new(0,5,0)
local PlayerSpawn = game.Workspace.Part -- change this to the part
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character:WaitForChild("HumanoidRootPart").CFrame = PlayerSpawn.CFrame
end)
end)
Try putting this inside a script in serverscriptservice. Also change the part to what you like.
You can make a normal spawn point and when the player spawns there you can fire a touched event (just place a part that is not collidable on the spawn) and when the player touches that part the script will check which spawn is assigned to the splayed and teleport it to there
EDIT: what @IndexSource said is better for preformance and has no change of glitching out