Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. function randomChar(i: number) :: text:
  2. set {randomChar::*} to "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-" and "_"
  3. set {_random} to random element out of {randomChar::*}
  4. loop {_i} times:
  5. set {_a} to random element out of {randomChar::*}
  6. set {_random} to "%{_random}%%{_a}%"
  7. return {_random}
  8. function randomColor(i: number) :: text:
  9. set {randomColor::*} to "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9", "&0", "&a", "&b", "&c", "&d", "&e" and "&f"
  10. loop {_i} times:
  11. set {_randomcol} to random element out of {randomColor::*}
  12. return {_randomcol}
  13. on skript load:
  14. if {_prefix.goose} is not set:
  15. set {_prefix.goose} to "&e[The &6Flash] &a[&cThe &6Parkour &eGod&a] &1[&bAwakened&1] &8[&7Goose&8] &b[Knockback] &3[Prefix God] &4[Lag] &7[Open Apps] &8[3 Feet] &f[Bed&cWars] &6Prefix Legend] &5[Not Titled] &6[Gold] "
  16. every 1 minute:
  17. if {_randomprefix.halted} is false:
  18. set {_addonrandom} to "function randomChar(i: 5)"
  19. set {_colorrandom} to "function randomColor(i: 5)"
  20. set {_newprefix} to "%{_prefix.goose}%%{_colorrandom}%[%{_addonrandom}%] "
  21. execute console command "lp user UntitledGoose addprefix 1000000 ""%{_newprefix}%"""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement