for example like sword simulator i want to make like a limit for a "sword" so when u reach the limit you get a better sword.

How do i do this???