the 'clear items' bug is caused by the loadItem event, so it's somehow not saving the weapons
I would use doPlayerTeleport because it is more reliable than setPlayerTransform (bugs with teleporting people)
The loaditems event had worked for me for years prior to this and seems to have worked for some and failed for others in the actual gamemode. I really can't explain it.
As for the teleport issue, there is none afaik. I just worded my original response weirdly.
Sometime in the future I might go back and fix / work on the Golden Brick, but rn am not very motivated and have a lot of other stuff to do anyways.