Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. options:
  2. testnpcrøvCooldown: 5
  3.  
  4.  
  5.  
  6.  
  7.  
  8. every 1 minute:
  9. loop {røvenpcskripttest.cooldown::*}:
  10. subtract 1 from {cooldownrøvenpcskripttest}
  11.  
  12.  
  13.  
  14.  
  15.  
  16. on npc right click:
  17. if npc is named "testernpcsværd":
  18. message "t" to all players
  19. if player has permission "crimi":
  20. message "tt" to all players
  21. if player is holding a Golden sword:
  22. message "ttt" to all players
  23. if player is sneaking:
  24. message "tttt" to all players
  25. if {cooldownrøvenpcskripttest} is 0:
  26. message "ttttt" to all players
  27. set {cooldownrøvenpcskripttest} to {@testnpcrøvCooldown}
  28. add all players to {røvenpcskripttest.cooldown::*}
  29. message "Du kan ikke bevæge dig"
  30. make console execute command "froze %player%"
  31. wait 10 seconds
  32. make console execute command "froze %player%"
  33. make console execute command "eco give %player% 5000"
  34. else if {cooldownrøvenpcskripttest} is between 1 and 9999:
  35. message "Du skal vente {cooldownrøvenpcskripttest}"
  36.  
  37.  
  38. Command /test:
  39. trigger:
  40. set {cooldownrøvenpcskripttest} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement