Coordinate frame expected help

currentTileCframe = CFrame.new(item.Position + Vector3.new(0,4,0)* CFrame.Angles(x,y,z))

So I am trying to get a CFrame into the variable currentTileCframe, and then pass the variable to a remote event then the other side will pick up the cframe and assign it to another part. However, it shows
Screenshot 2022-07-20 at 2.24.08 PM
I do know that means it’s the wrong value to be assigned as a cframe on the other side, however I don’t know how it is not a CFrame as I clearly set the variable as “CFrame.new()”

Help would be appreciated.

2 Likes

maybe try putting CFrame.Angles outside the CFrame.new
local cf = CFrame.new(item.Position + Vector3.new(0,4,0)) * CFrame.Angles(x,y,z)

i think it should work

3 Likes

your issue might be that you’re including the angles in the cframe.new you shouldn’t need to do that and just do cframe.new(pos) * cframe.angles(ori)

1 Like