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

Help with weld rotation?

Asked by 8 years ago

Ok I made a weld script I welded two parts then I tried to rotate a part with a different script without moving the other when I did so it did rotate but also moved it in the sky the parts are unanchored this is my code. Can you help what wrong?

local rotation = -- a number that i want to rotate
local weld = --;-; The weld
weld.C0 = CFrame.fromEulerAnglesXYZ(0, rotation, 0); 

Answer this question