plr.CharacterAdded:connect(function(char)
1 | local humanoid,hrp = char:WaitForChild( "Humanoid" ),char:WaitForChild( "HumanoidRootPart" ) |
2 |
3 | wait() |
4 |
5 | if humanoid and hrp then |
6 | if stage.Value ~ = 0 then |
7 |
8 | local part = workspace.ObbyStages:FindFirstChild(stage.Value) |
9 | hrp.Cframe = part.Cframe + Vector 3. 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?