How to change PivotOffset from a script

The title says it all. is it possible to change the pivot offset from a script? i tried doing part.PivotOffset but it doesnt say its a property. Please tell me there is a way to change this.

1 Like

nevermind. I was being dumb. I found the problem. I think it glitched or something