It’s just too hard (CFrame:ToOrientation), it returns a string with numbers and spaces and I’m bad at string manipulation, I want it to return a table or vector3 value. I’ve tried string.sub
Here’s a chunk of code that was hard for me.
local orientation = CFramee:ToOrientation()
local y = 0
if type(string.sub(orientation,3,3)) == "number" then
y = string.sub(orientation,3,3)
print(y)
end
Thanks for reading