When i go to load up the gam it says an error "attempt to index nil with 'CFrame'" and I don't know how to fix it. This is the script line. character:FindFirstChild("HumanoidRootpart").CFrame = AvailableSpawnPoints[1].CFrame
Try using WaitForChild, and the letter p is CAPS
character:WaitForChild("HumanoidRootPart").CFrame = AvailableSpawnPoints[1].CFrame