Anyone know how to update this line to support GM13+?

This line of code in the “Player Weld STool” by overv has been slightly updated to GM13+ but it still does not work

Entity:SetAngles(Entity:GetNWVector(“Rotation”))

I need it to keep that “Rotation” tag/string but it returns an error saying that it is calling for an angle but it got userdata.
Help will be thanked gratefully and credit will be given.

And yes, I got overv’s permission.

So GetNWVector returns a VECTOR and SetAngles wants an ANGLE.

I wonder what’s the problem.

Also wrong section.

Oh really? What section am I looking for so I can move this there?

Developer Discussion.