Is this intended?
Variables are only considered for rep when changed. So Its probably never considered changed when set on spawn
U could try just setting the var right after spawning it