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

invalid argument #1 (Cframe expected, got Vector3), but why?

Asked by
TechModel 118
3 years ago

Don't know why is this happening but how do I fix it? Added CFrame.Angles and it doesn't work. What can I do to fix this? Thanks!

local Vender = hit.Position + Vector3.new(0, Vender.PrimaryPart.Size.Y/2, 0) * CFrame.Angles(0, math.rad(90), 0)

Answer this question