CFrame not changing

Hello again

So I was trying to change a part’s position using vector 3 but it doesn’t work (keeps the same position)
Help is always appreciated

	backbox.CFrame = hrp.CFrame + Vector3.new(0.5, 0, 0)
	backbox.Parent = character
end

image

put CFrame.new() instead of Vector3.new()

backbox.CFrame = hrp.CFrame + CFrame.new(0.5, 0, 0)
	backbox.Parent = character
end
1 Like

CFrame only supports multiplication. It should be

hrp.CFrame * CFrame.new(0.5, 0, 0)
1 Like

Sorry for the very late reply. The problem continues and doesn’t update at all

Are you sure the script is running? Do you have any errors in output? This is a LocalScript, so changes to this part won’t appear on other players’ screens or on the server. Can I see more of the code also?

There are no errors, I should have said before but it’s a script to make a hitbox for the back of the player’s body. So when a player is blocking they are still vulnerable to attacks.
Unfortunately, I deleted the code so I could try again later.

1 Like