I’m trying to increment my EXP, and it works the first time but after it just prints the same value over and over again, this is a script inside of a click detector Im just doing for testing
To explain, its likely because of the nature of _G as it is a module. As such when you set Experience locally, it copies the value from the module itself. As such to increment the through _G you’d need to set it using its reference. (_G.Whatever…).