Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=========================#
- # Stasio88 #
- # Skrypt stworzony dla #
- # MPCforum.pl. Losowanie #
- #=========================#
- # Poprawki by mrkacperek #
- command /losowanie:
- trigger:
- if player has permission "losowanie.stasio":
- if player has 64 gold ingot:
- give a gold ingot of thorns 10 named "&4Item-Losowanie" to player
- send "&aTwoj przedmiot do loterii zostal stworzony!"
- remove 64 gold ingot from player
- else:
- send "&c Nie posiadasz &a64 &csztuk Zlota!"
- on right click with gold ingot:
- if player has permission "losowanie.stasio":
- if name of player's tool is "&4Item-Losowanie":
- chance of 20%:
- send "&2Zaczekaj losuje nagrode..."
- wait 1 real seconds
- remove gold ingot from player
- wait 2 real seconds
- send "&b&lUWAGA LOSUJE! Poczekaj 5 sekund!"
- wait 5 real seconds
- execute console command "/give %player% 310 1"
- execute console command "/give %player% 311 1"
- execute console command "/give %player% 312 1"
- execute console command "/give %player% 313 1"
- execute console command "/give %player% 276:19 1"
- apply regeneration 1 to the player for 300 seconds
- send "&2Otrzymałes zestaw PvP!"
- broadcast "%player% otrzymal zestaw PvP!"
- stop
- chance of 90%:
- send "&2Zaczekaj losuje nagrode..."
- wait 1 real seconds
- remove gold ingot from player
- wait 2 real seconds
- send "&b&lUWAGA LOSUJE! Poczekaj 5 sekund!"
- wait 5 real seconds
- send "&b&lTo nie Twoj dzien... Nic nie wygrales..."
- stop
- chance of 100%:
- send "&2Zaczekaj losuje nagrode..."
- wait 1 real seconds
- remove gold ingot from player
- wait 2 real seconds
- send "&b&lUWAGA LOSUJE! Poczekaj 5 sekund!"
- wait 5 real seconds
- execute console command "/give %player% 310 1"
- execute console command "/give %player% 311 1"
- execute console command "/give %player% 312 1"
- execute console command "/give %player% 313 1"
- execute console command "/give %player% 276:19 1 @sharpness 5"
- apply regeneration 1 to the player for 300 seconds
- send "&2Otrzymałes zestaw PvP!"
- broadcast "%player% otrzymal zestaw super Vipa na naszym serwerze! Gratulujemy"
- wait 5 real seconds
- send "Gratuluje wygranej, zyczymy kolejnej super nagrody w przyszlej loterii"
- stop
Advertisement
Add Comment
Please, Sign In to add comment