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

What's wrong with this script?

I've put the code below in a LocalScript and inside StarterGui to test how CFrame works.

local Player = game.Players.LocalPlayer
local RArm = Player.Character["Right Arm"]

RArm.C1 = CFrame.new(5, 4, 2) * CFrame.fromEulerAnglesXYZ(1,5,2)

When I play the game nothing happens, why?

2 comments

0

I thing its called "Right Arm".. Do you have an output error?

0

Oh, I changed it to Right Arm with a space and now it says 'C1 is not a valid member of Part'.

1 answer

✓ Accepted answer

C1 is a property of Welds, not Parts. Try using the CFrame property instead.

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