Advertisement
Guest User

Untitled

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