character:FindFirstChild("HumanoidRootPart").CFrame = AvailableSpawnPoints[1].CFrame
table.remove(AvailableSpawnPoints,1)
This is the script then a scripter suggest to me but idk why roblox kept say error with this script can you help me?

4 comments
can you show the whole script using Lua block?
ok
What is the error?
he say cframe is not a valid member