on rightclick with paper:
if tool's name is "&6Kazı &eKazan":
remove a paper named "&6Kazı &eKazan" from player's inventory
chance of 5%:
execute console command "eco give %player% 50000"
send "&6Tebrikler! &e50.000 TL kazandın!" to player
stop
chance of 10%:
execute console command "eco give %player% 40000"
send "&6Tebrikler! &e40.000 TL kazandın!" to player
stop
chance of 20%:
execute console command "eco give %player% 30000"
send "&6Tebrikler! &e30.000 TL kazandın!" to player
stop
chance of 25%:
execute console command "eco give %player% 20000"
send "&6Tebrikler! &e20.000 TL kazandın!" to player
stop
chance of 40%:
execute console command "eco give %player% 10000"
send "&6Tebrikler! &e10.000 TL kazandın!" to player
stop
command /kazikazanver:
trigger:
if player is op:
give 1 paper named "&6Kazı &eKazan" to player
stop