Changing Coin UI to fit area player is in


I was wondering how I can make it so when you walk into a different area, I want my Coin GUI To change to a different one for a different Coin UI because it uses a different Coin Leaderstat. For example, Pet Simulator X, they have it so when you walk into a different area the Coin UI Changes to that area. If you know how to do this, or need more help understanding, please tell me.

1 Like

You could separate your map into different zones based on the coins, you could use the GetPartBoundsInBox to determine player entering and leaving the zone (making a module would be more confortable). There are some open-source modules that does them you can search it and use them if you don’t wanna create a new one.

Are there any tutorials on how to do this?

I don’t know but as I said you could use open-sourced modules. One of them is this : ZonePlus v3.2.0 | Construct dynamic zones and effectively determine players and parts within their boundaries

Alright, thank you! Hopefully i’ll figure it out.