Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am trying to move the C1 position in a weld but my script has an error why is this?

Asked by 1 year ago

I am trying to move C1 in a weld but it isnt working :/

local Weld = Instance.new("Weld", Hand)
    Weld.Part0 = Hand
    Weld.Part1 = Fake
    Weld.C1.Position += CFrame.new(2,0,0)

Fake is a part. Hand is a player hand.

ERROR: Workspace.Sword.Script:58: invalid argument #1 (CFrame expected, got Vector3)

0
Remove .Position T3_MasterGamer 2189 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

try using

Weld.C1.Position += Vector3.new(2,0,0)
Ad

Answer this question