Roblox says hrp doesnt have a CFrame?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Character changes on the server when you press a button
  2. What is the issue? Include screenshots / videos if possible!
    Roblox is saying the Humanoid root part doesn’t have a CFrame (i need to set the new character CFrame to one of the players)
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i worked with taking away the Primary part but still not working
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Rem.OnServerEvent:Connect(function(player, Nc) --ignore this it works
	
	local Oc = player.Character
	Nc = player.Character
	Nc.PrimaryPart.Cframe = Oc.PrimaryPart.CFrame -- problem area
	wait()
	Oc:Destory()
end)

error: Cframe is not a valid member of Part “Workspace.Asteralx.HumanoidRootPart”
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

its CFrame not Cframe
you misspelled it

1 Like