connoriscool23

Untitled

Dec 10th, 2020
122
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #--------------------------------------------#
  2. # made by connoriscool23 #
  3. #--------------------------------------------#
  4. # please don't claim as own even if editited #
  5. # :) #
  6. #--------------------------------------------#
  7.  
  8. on right click:
  9. if event-block is trapped chest:
  10. if player is holding tripwire hook of unbreaking 10 named "key name here" with lore "remove with lore or place your lore here if you have a lore":
  11. chance of 50%:
  12. give player dirt named "replace this with your item and name."
  13. broadcast "&3&lServername » &7%player% won (ITEM) from a crate!"
  14. chance of 50%:
  15. give player dirt named "replace this with your item and name."
  16. broadcast "&3&lServername » &7%player% won (ITEM) from a crate!"
  17.  
  18. on left click:
  19. if event-block is trapped chest:
  20. open chest with 3 rows named "&3&LLOOT" to player
  21. format slot 10 of player with dirt named "&a&lITEM" to be unstealable
  22. format slot 11 of player with dirt named "&a&lITEM" to be unstealable
  23. format slot 12 of player with dirt named "&a&lITEM" to be unstealable
  24. format slot 13 of player with dirt named "&a&lITEM" to be unstealable
  25. format slot 14 of player with dirt named "&a&lITEM" to be unstealable
  26. format slot 15 of player with dirt named "&a&lITEM" to be unstealable
  27. format slot 16 of player with dirt named "&a&lITEM" to be unstealable
  28. format slot 17 of player with dirt named "&a&lITEM" to be unstealable
  29.  
  30. command /keyall <text>:
  31. usage: &3&lServername » &7To complete this command do /keyall confirm, and it will give players a key!
  32. permission: op
  33. cooldown: 1 second
  34. cooldown message: &3&lServername » &7there was a keyall less than 1 second ago, CHILL!
  35. trigger:
  36. loop all player:
  37. give loop-player tripwire hook of unbreaking 10 named "key name here" with lore "remove with lore or place your lore here if you have a lore":
  38.  
  39. #--------------------------------------------#
  40. # made by connoriscool23 #
  41. #--------------------------------------------#
  42. # please don't claim as own even if editited #
  43. # :0 Thats the skript #
  44. # Thanks for using my skript! #
  45. #--------------------------------------------#
RAW Paste Data