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)
Instead of just CFrame.new, do
CFrame.new(Vector3.new(mainArea:WaitForChild("Spawn").Position))