Eggs-D-Studios / wos-issues

Waste of Space bugs, suggestions, and other feedback
10 stars 0 forks source link

Part.CFrame returns Userdata #539

Closed minimic2002 closed 2 weeks ago

minimic2002 commented 2 weeks ago

Guidelines

Version

Main (Production)

What happened? What did you expect to happen?

Literally try doing maths with it, everything errors

How can we reproduce this bug?

print(type(GetPart("Gyro").CFrame))

Frequency

Always

Hexcede commented 2 weeks ago

@minimic2002 All CFrames are userdatas. type(CFrame.identity) returns userdata because it is a userdata: image

Additionally, the game does not sandbox CFrames at all because there'd be no reason to. They are provided to your code as-is, so you are interacting with the actual CFrame directly. I can't repro any issues with CFrames whatsoever.