I'm just trying to spawn the character at a cylinder and this is the code on the server:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local humanoidRootPart = char:WaitForChild("HumanoidRootPart")
local area = game.Workspace:WaitForChild("GameContent")
local mainArea = area:WaitForChild("WaitingArea")
humanoidRootPart.CFrame = CFrame.new(mainArea:WaitForChild("Spawn").Position)
end)
end)

9 comments
That's what I'm doing...?
That's what I'm doing...?
That's what I'm doing...?
That's what I'm doing...?
That's what I'm doing...?
That's what I'm doing...?
That's what I'm doing...?
You forgot the Vector3.new part
If that doesn't work then put a wait(1) or something like that at the start of the CharacterAdded script, you might be trying to teleport the player before the humanoidRootPart is in the correct position.