How do you make a spawn for only 1 person, as in it doesn't show on the leaderboard, but that person has they're own spawn, they won't spawn anywhere else. Just that spawn, even if they're in the same team as someone else?
Like ControlSpawning?
Full script
01 | Name = "Person you want to spawn there" --Specify the player |
02 | Spawn = "Name of the spawn here" --Get the name of the spawn |
03 | spwn = game.Workspace:FindFirstChild(Spawn) --find something named that in the workspace |
04 |
05 | game.Players.PlayerAdded:connect( function (plr) --Wehn a player enters the game |
06 | plr.CharacterAdded:connect( function (char) --then when their character enters |
07 | wait( 1 ) --wait a second |
08 | if char.Name:lower() = = Name:lower() then --and check if they have the specified name |
09 | char.Torso.CFrame = CFrame.new(spwn.Position+Vector 3. new( 0 , 5 , 0 )) --move them |
10 | end |
11 | end ) |
12 | end ) |
Hope I Helped
+1
You can create a part in Workspace and call it "CustomSpawn" then use the CharacterAdded event on the specific player and move him to the part's position (use MoveTo as opposed to SetPrimaryPartCFrame so they will spawn on-top of the part, not inside).