Guest User

Untitled

a guest
May 25th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.46 KB | None | 0 0
  1. on step on iron block:
  2. if player has permission "group.noob":
  3. equip player with iron boots
  4. execute console command "lp user %player's uuid% parent remove noob"
  5. execute console command "lp user %player's uuid% parent add pro"
  6.  
  7.  
  8. on step on gold block:
  9. if player has permission "group.pro":
  10. equip player with golden boots
  11. execute console command "lp user %player's uuid% parent remove pro"
  12. execute console command "lp user %players uuid% parent add master"
  13.  
  14. on step on diamond block:
  15. if player has permission "group.master":
  16. equip player with diamond boots
  17. execute console command "lp user %players uuid% parent remove master"
  18. execute console command "lp user %players uuid% parent add champion"
  19.  
  20. on step on bookshelf:
  21. if player has permission "group.champion":
  22. equip player with chainmail boots
  23. execute console command "lp user %players uuid% parent remove champion"
  24. execute console command "lp user %players uuid% parent add fighter"
  25.  
  26. on step on acacia planks:
  27. if player has permission "group.prisonor": # Same working method
  28. execute console command "lp user %players uuid% parent remove prisonor"
  29. execute console command "lp user %players uuid% parent add noob"
  30. teleport player to location(160, -63, -156)
  31.  
  32.  
  33.  
  34. command /ticket [<player>]:
  35. permission: ticket.use
  36. trigger:
  37. if {ticket.cooldown.%player%} is set:
  38. send "&cYou must wait before using this command again!" to player
  39. stop
  40.  
  41. if arg-1 is set:
  42. if arg-1 is online:
  43. give arg-1 1 kelp named "&aTicket"
  44. send "&eYou received a &aTicket&e! Right-click a hopper to use it." to arg-1
  45. send "&eYou gave %arg-1% a &aTicket&e!" to player
  46. else:
  47. send "&cThat player is not online." to player
  48. stop
  49. else:
  50. give player 1 kelp named "&aTicket"
  51. send "&eYou received a &aTicket&e! Right-click a hopper to use it." to player
  52.  
  53. set {ticket.cooldown.%player%} to now
  54. wait 120 seconds
  55. delete {ticket.cooldown.%player%}
  56.  
  57. command /key [<player>]:
  58. permission: key.use
  59. trigger:
  60. if {key.cooldown.%player%} is set:
  61. send "&cYou must wait before using this command again!" to player
  62. stop
  63.  
  64. if arg-1 is set:
  65. if arg-1 is online:
  66. give arg-1 1 gold nugget named "&eKey"
  67. send "&eYou received a &eKey! Right-click a hopper to use it." to arg-1
  68. send "&eYou gave %arg-1% a &eKey!" to player
  69. else:
  70. send "&cThat player is not online." to player
  71. stop
  72. else:
  73. give player 1 gold nugget named "&eKey"
  74. send "&eYou received a &eKey! Finish the course at Pro next to the walls on the side of the door at Pro to enter a course and have a chance to become a Master level!" to player
  75.  
  76. set {key.cooldown.%player%} to now
  77. wait 120 seconds
  78. delete {key.cooldown.%player%}
  79.  
  80. on death:
  81. if victim is a player:
  82. if victim has permission "procommand.sk":
  83. execute console command "/lp user %victim% parent remove pro"
  84. execute console command "/lp user %victim% parent set noob"
  85. send "&cYou have ranked down due to death" to victim
  86.  
  87. else if victim has permission "mastercommand.sk":
  88. execute console command "/lp user %victim% parent remove master"
  89. execute console command "/lp user %victim% parent set pro"
  90. send "&cYou have ranked down due to death" to victim
  91.  
  92. else if victim has permission "noobcommandd.sk": # Fixed typo
  93. execute console command "/lp user %victim% parent remove noob"
  94. execute console command "/lp user %victim% parent set prisonor" # Fixed "prisonor"
  95. send "&cYou have ranked down due to death" to victim
  96.  
  97.  
  98.  
  99. on step on blue glazed terracotta:
  100. if player has permission "group.fighter":
  101. execute console command "lp user %player% parent remove fighter"
  102. execute console command "lp user %player% parent add captain"
  103.  
  104.  
  105. on death:
  106. if victim is a player:
  107. if victim has permission "group.champion":
  108. execute console command "/lp user %victim% parent remove champion"
  109. execute console command "/lp user %victim% parent set champion"
  110. send "&aYou have champion so you didnt rank down" to victim
  111.  
  112. on death:
  113. if victim is a player:
  114. if victim has permission "group.fighter":
  115. execute console command "/lp user %victim% parent remove fighter"
  116. execute console command "/lp user %victim% parent set fighter"
  117. send "&aYou have fighter so you didnt rank down" to victim
  118.  
  119. on death:
  120. if victim is a player:
  121. if victim has permission "group.captain":
  122. execute console command "/lp user %victim% parent remove captain"
  123. execute console command "/lp user %victim% parent set captain"
  124. send "&aYou have captain so you didnt rank down" to victim
  125.  
  126. on step on diamond block:
  127. if player has permission "mastercommand.sk":
  128. execute console command "/lp user %player% parent remove master"
  129. execute console command "/lp user %player% parent add champion"
  130.  
  131. on step on emerald block:
  132. give player 1 kelp named "&aTicket"
  133. send "&estep on the white wool while holding ticket to enter!" to player
  134. execute console command "tp %player% 159 -62 -155"
  135.  
  136. on step on white wool:
  137. if player's tool is kelp:
  138. if "%display name of player's tool%" is "&aTicket": # Check if the kelp is named "Ticket"
  139. remove 1 of player's tool from player
  140. send "&aYou have entered the &ePro Course &ato have a chance to rank up!" to player
  141. execute console command "tp %player% 164 -63 -156"
  142. else:
  143. send "&cYou must hold a ticket and step on white wool to enter!" to player
  144. else:
  145. send "&cYou must hold and step on white wool to enter!" to player
  146.  
  147. on step on yellow wool:
  148. give player 1 gold nugget named "&eKey"
  149. send "&estep on the yellow carpet at end of course behind you while holding Key to enter!" to player
  150. execute console command "tp %player% 122 26 -174"
  151.  
  152. on step on yellow carpet:
  153. if player's tool is gold nugget:
  154. if "%display name of player's tool%" is "&eKey": # Check if the kelp is named "Ticket"
  155. remove 1 of player's tool from player
  156. send "&aYou have entered the &eMaster Course &ato have a chance to rank up!" to player
  157. execute console command "tp %player% 155 131 -158"
  158. else:
  159. send "&cYou must hold a key and step on yellow carpet to enter!" to player
  160. else:
  161. send "&cYou must hold a key and step on yellow carpet to enter!" to player
  162.  
  163. on first join:
  164. execute console command "lp user %player% parent set noob"
  165. teleport player to location(-1836, -50, -825, world("overworld"))
  166. send "&aWelcome to Hcparkourciv, %player%! You've been teleported to the starting location!" to player
  167.  
  168.  
  169.  
  170.  
  171. on sign change:
  172. if player is not op:
  173. cancel event
  174. send "&cYou do not have permission to edit signs!" to player
  175.  
  176.  
  177. on step on redstone block:
  178. if player's group is "prisonor": # Checks LuckPerms group directly
  179. execute console command "lp user %player% parent set noob"
  180.  
  181.  
  182. on step on redstone block:
  183. if player's group is "default": # Checks LuckPerms group directly
  184. execute console command "lp user %player% parent set noob"
  185.  
  186.  
  187. on death:
  188. if victim has permission "procommand.sk": # ✅ FIXED PERMISSION CHECK
  189. remove all iron boots from victim's inventory
  190. equip victim with leather boots
  191.  
  192. on inventory click:
  193. if player has permission "noobcommandd.sk":
  194. if clicked slot = 8: # Boots slot index
  195. cancel event
  196.  
  197.  
  198. on death:
  199. if victim has permission "noobcommandd.sk":
  200. equip victim with leather boots
  201.  
  202. on respawn:
  203. if player has permission "noobcommandd.sk":
  204. equip player with leather boots
  205.  
  206.  
  207. on death:
  208. if victim has permission "mastercommand.sk": # ✅ FIXED PERMISSION CHECK
  209. remove all golden boots from victim's inventory
  210. equip victim with iron boots
  211.  
  212.  
  213. on death:
  214. if victim has permission "championcommand.sk": # ✅ FIXED PERMISSION CHECK
  215. equip victim with diamond boots
  216.  
  217.  
  218.  
  219. on death:
  220. if victim has permission "fightercommand.sk": # ✅ FIXED PERMISSION CHECK
  221. equip victim with chainmail boots
  222.  
  223. on every tick:
  224. loop all players:
  225. if loop-player does not have permission "procommand.sk":
  226. set hunger of loop-player to 3
  227.  
  228.  
  229. on step on iron block:
  230. if player has permission "noobcommandd.sk":
  231. set hunger of player to 20
  232.  
  233.  
  234. on death:
  235. if victim is a player:
  236. if victim has permission "mastercommand.sk":
  237. set hunger of victim to 20
  238.  
  239.  
  240. command /mutecheat <player>:
  241. permission: op
  242. trigger:
  243. set {muted::%arg-1%} to true
  244. send "&c%arg-1% has been muted from using commands!" to all players
  245.  
  246. on command:
  247. if {muted::%player%} is true:
  248. cancel event
  249. send "&cYou are not allowed to use commands!" to player
  250.  
  251.  
  252. command /unmutecheat <player>:
  253. permission: op
  254. trigger:
  255. delete {muted::%arg-1%}
  256. send "&a%arg-1% can now use commands again!" to all players
  257.  
  258.  
  259. on inventory click:
  260. if player has permission "noobcommandd.sk":
  261. if event-slot = 36: # Boots slot in player inventory
  262. if event-item is leather boots:
  263. cancel event
  264.  
  265. on inventory click:
  266. if player has permission "procommand.sk":
  267. if event-slot = 36:
  268. if event-item is iron boots:
  269. cancel event
  270.  
  271. on inventory click:
  272. if player has permission "mastercommand.sk":
  273. if event-slot = 36:
  274. if event-item is golden boots:
  275. cancel event
  276.  
  277. on inventory click:
  278. if player has permission "championcommand.sk":
  279. if event-slot = 36:
  280. if event-item is diamond boots:
  281. cancel event
  282.  
  283. on inventory click:
  284. if player has permission "fightercommand.sk":
  285. if event-slot = 36:
  286. if event-item is chainmail boots:
  287. cancel event
Advertisement
Add Comment
Please, Sign In to add comment