No idea why this script doesn't work

In general, SetPrimaryPartCFrame is frowned upon for it’s gradual offsets.