xDreamMaster

[Skrypt] Kilofy

Dec 29th, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. command /kilof [<text>]:
  2. permission: set.sk
  3. trigger:
  4. if arg 1 is not set or "1":
  5. execute console command "give %player% 278 1 name:&a&LKilof_Szybkosci_&6&lI"
  6. send "&8[&aPeterson&cDodatki&8] &aDostales &a&LKilof Szybkosci &6&lI"
  7. if arg 1 is "2":
  8. execute console command "give %player% 278 1 name:&a&LKilof_Szybkosci_&6&lII"
  9. send "&8[&aPeterson&cDodatki&8] &aDostales &a&LKilof Szybkosci &6&lI"
  10. if arg 1 is "3":
  11. execute console command "give %player% 278 1 name:&a&LKilof_Szybkosci_&6&lIII"
  12. send "&8[&aPeterson&cDodatki&8] &aDostales &a&LKilof Szybkosci &6&lI"
  13. if arg 1 is "4":
  14. execute console command "give %player% 278 1 name:&a&LKilof_Szybkosci_&6&lIV"
  15. send "&8[&aPeterson&cDodatki&8] &aDostales &a&LKilof Szybkosci &6&lI"
  16. if arg 1 is "5":
  17. execute console command "give %player% 278 1 name:&a&LKilof_Szybkosci_&6&lV"
  18. send "&8[&aPeterson&cDodatki&8] &aDostales &a&LKilof Szybkosci &6&lI"
  19.  
  20.  
  21.  
  22.  
  23. on script load:
  24. register new shaped recipe for diamond pickaxe named "&a&LKilof Szybkosci &6&lI" using 57, 57, 57, 0, 288, 0, 0, 288, 0
  25.  
  26. every 1 second:
  27. loop all players:
  28. if tool of loop-player is diamond pickaxe named "&a&LKilof Szybkosci &6&lI":
  29. apply haste 1 to the loop-player for 1 seconds
  30.  
  31. every 1 second:
  32. loop all players:
  33. if tool of loop-player is diamond pickaxe named "&a&LKilof Szybkosci &6&lII":
  34. apply haste 2 to the loop-player for 1 seconds
  35.  
  36. every 1 second:
  37. loop all players:
  38. if tool of loop-player is diamond pickaxe named "&a&LKilof Szybkosci &6&lIII":
  39. apply haste 3 to the loop-player for 1 seconds
  40.  
  41. every 1 second:
  42. loop all players:
  43. if tool of loop-player is diamond pickaxe named "&a&LKilof Szybkosci &6&lIV":
  44. apply haste 4 to the loop-player for 1 seconds
  45.  
  46.  
  47. if tool of player is diamond pickaxe named "&a&LKilof Szybkosci &6&lIV":
  48. set {d.%player%} to true
  49. execute console command "pex user %player% add karolekdrop.vip"
  50.  
  51.  
  52. on tool change:
  53. set {d.%player%} to false
  54. execute console command "pex user %player% add -karolekdrop.vip"
Advertisement
Add Comment
Please, Sign In to add comment