Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Cframe is not a valid member of Part?

plr.CharacterAdded:connect(function(char)

	local humanoid,hrp = char:WaitForChild("Humanoid"),char:WaitForChild("HumanoidRootPart")
	
	wait()
	
	if humanoid and hrp then
		if stage.Value ~= 0 then
			
			local part = workspace.ObbyStages:FindFirstChild(stage.Value)
			hrp.Cframe = part.Cframe + Vector3.new(0,1,0)

I've put in the code above and it gives me the following Error:

"Cframe is not a valid member of Part"

Any clues of what it might be?

5 comments

1

caps CFrame

1

As the comment above says: its CFrame, not Cframe

0

As the comment above above says: it's CFrame, not Cframe.

0

As the comment above above above says: it's CFrame, not Cframe.

0

It really do be like that sometimes smh my head...

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.