How can I use a code when every time the player gets xp divisible by 500 it makes the game pause to choose a power?
To pause you can set system timescale to 0
I already did this but I wanted it to happen every time the character got a score divisible by 500
like this "XP/500=whole number". but in this part, "whole number", i dont know the expression
Develop games in your browser. Powerful, performant & highly capable.
System compare two values, first value XP/500 and second value whatever you need.
More likely this...
(XP % 500) = 0
then do something