character:FindFirstChild("HumanoidRootPart").CFrame = AvailableSpawnPoints[1].CFrame table.remove(AvailableSpawnPoints,1)
It says CFrame is not a valid member of weld even though the deafult roblox spawn has weld in it?
character:FindFirstChild("HumanoidRootPart").CFrame = AvailableSpawnPoints[1].CFrame table.remove(AvailableSpawnPoints,1)
It says CFrame is not a valid member of weld even though the deafult roblox spawn has weld in it?
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
What are you trying to do.? Teleport a player to a spawn? In that case you can save parts in AvailableSpawnPoints. Looks like youre saving welds instead.
But how would i save parts in AvailableSpawnPoints
Maybe include what you're defining "AvailableSpawnPoints" as. You've could've possibly defined it wrong and instead of defining the part you want to teleport the player to, you defined the weld inside of the part.
Could you possibly send the script?