Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if {_g} is "CreativeCrates":
- set {_e} to random element out of {Vote.Party.Gewinne::CreativeCrates::*}
- set {_r} to "%rounded {_e}%"
- set {_t} to ""
- loop round up length of {_r} / 3 times:
- set {_l} to the last 3 characters of {_r}
- set {_r} to the first length of {_r} - 3 characters of {_r}
- if loop-number-2 = 1:
- set {_t} to "%{_l}%%{_t}%"
- else:
- set {_t} to "%{_l}%.%{_t}%"
- broadcast "{@prefix} &7Spieler &a%{_s}% &7hat &f%{_t}% &9Creative Crates &7gewonnen!"
- execute console command "/crazycrate give v creative %{_e}% %{_s}%"
- play "ORB_PICKUP" to all players
- launch firework at location at {_s} timed 0 coloured "GREEN" and "YELLOW"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement