Need help accurately rotating something

so i need to rotate somethign with AS script, which is really easy, so i changed where i want it to be rotated from and it rotates the way i want it to when i use free transform and drag it around, but when i try with AS, it doesn’t work, it actually rotates it, any ideas? when i made the MC i also clicked the bottom right square for registration,

PS: im using AS 2