Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding diamond:
- {diamond.%player%} is not set:
- chance of 50%:
- send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
- remove diamond from player
- execute console command "/effect %player% 1 10 1"
- apply regeneration 1 to the player for 300 seconds
- send "&3(&64Grief&3) &6Wylosowales Efekt Szybkosc II Na 10 Sekund!"
- set {diamond.%player%} to 20
- stop
- chance of 10%:
- send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
- remove diamond from player
- send "&3(&64Grief&3) &6Wylosowales Efekt Niesmiertelnosc Na 3 Sekundy!"
- execute console command "/god %player%"
- wait 3 real seconds
- execute console command "/god %player%"
- apply regeneration 1 to the player for 300 seconds
- set {diamond.%player%} to 20
- stop
- chance of 40%:
- send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
- remove diamond from player
- execute console command "/effect %player% 8 10 2"
- apply regeneration 1 to the player for 300 seconds
- send "&3(&64Grief&3) &6Wylosowales Efekt Skoki III Na 10 Sekund"
- set {diamond.%player%} to 20
- stop
- chance of 20%:
- send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
- remove diamond from player
- execute console command "/effect %player% 5 10 1"
- apply regeneration 1 to the player for 300 seconds
- send "&3(&64Grief&3) &6Wylosowales Efekt Sila II Na 10 Sekund!"
- set {diamond.%player%} to 20
- stop
- else:
- {diamond.%player%} is larger than 5:
- send "&7Diamenta losowania bedziesz mogl mozesz uzyc dopiero za &c%{diamond.%player%}% &7sekund."
- stop
- {diamond.%player%} is 2 or 3 or 4:
- send "&7Diamenta losowania bedziesz mogl mozesz uzyc dopiero za &c%{diamond.%player%}% &7sekundy."
- stop
- {diamond.%player%}% is 1:
- send "&7Diamenta losowania bedziesz mogl mozesz uzyc dopiero za &c%{diamond.%player%}% &7sekund."
- stop
- else:
- send "&cBlad: &4Napisz do admina"
- every 1 second:
- loop all players:
- {diamond.%loop-player%} is larger than 0:
- remove 1 from {diamond.%loop-player%}
- else:
- clear {diamond.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment