Jump to content

How do I make a skript that removes a percentage of a player's money and gives it to another player?


Recommended Posts

Does this give you an idea?:

set {_ratio} to 20/100
set {_amt} to round(balance of player * {_ratio})
remove {_amt} from balance of player
add {_amt} to balance of ("CoolProgrammer" parsed as player)

Requires Vault.

Hello there! If you're reading this, hope you're having a wonderful day!


Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.


Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...