Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /coinflip [<text>]:
- permission: coinflip
- trigger:
- if arg 1 is "flip":
- if player's balance is greater than 2499:
- chance of 40%:
- add 2500 to {coinflip::profit}
- remove 2500 from player's balance
- send "&7You won &a$5000"
- execute console command "eco give %player% 5000"
- else:
- remove 2500 from {coinflip::profit}
- remove 2500 from player's balance
- send "&cYou lost 2500$"
- else:
- send "&cYou dont have enough money"
- if arg 1 is "top":
- send "&9Global Profit: &f$%{coinflip::profit}%"
Advertisement
Add Comment
Please, Sign In to add comment