Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on step on iron block:
- if player has permission "group.noob":
- equip player with iron boots
- execute console command "lp user %player's uuid% parent remove noob"
- execute console command "lp user %player's uuid% parent add pro"
- on step on gold block:
- if player has permission "group.pro":
- equip player with golden boots
- execute console command "lp user %player's uuid% parent remove pro"
- execute console command "lp user %players uuid% parent add master"
- on step on diamond block:
- if player has permission "group.master":
- equip player with diamond boots
- execute console command "lp user %players uuid% parent remove master"
- execute console command "lp user %players uuid% parent add champion"
- on step on bookshelf:
- if player has permission "group.champion":
- equip player with chainmail boots
- execute console command "lp user %players uuid% parent remove champion"
- execute console command "lp user %players uuid% parent add fighter"
- on step on acacia planks:
- if player has permission "group.prisonor": # Same working method
- execute console command "lp user %players uuid% parent remove prisonor"
- execute console command "lp user %players uuid% parent add noob"
- teleport player to location(160, -63, -156)
- command /ticket [<player>]:
- permission: ticket.use
- trigger:
- if {ticket.cooldown.%player%} is set:
- send "&cYou must wait before using this command again!" to player
- stop
- if arg-1 is set:
- if arg-1 is online:
- give arg-1 1 kelp named "&aTicket"
- send "&eYou received a &aTicket&e! Right-click a hopper to use it." to arg-1
- send "&eYou gave %arg-1% a &aTicket&e!" to player
- else:
- send "&cThat player is not online." to player
- stop
- else:
- give player 1 kelp named "&aTicket"
- send "&eYou received a &aTicket&e! Right-click a hopper to use it." to player
- set {ticket.cooldown.%player%} to now
- wait 120 seconds
- delete {ticket.cooldown.%player%}
- command /key [<player>]:
- permission: key.use
- trigger:
- if {key.cooldown.%player%} is set:
- send "&cYou must wait before using this command again!" to player
- stop
- if arg-1 is set:
- if arg-1 is online:
- give arg-1 1 gold nugget named "&eKey"
- send "&eYou received a &eKey! Right-click a hopper to use it." to arg-1
- send "&eYou gave %arg-1% a &eKey!" to player
- else:
- send "&cThat player is not online." to player
- stop
- else:
- give player 1 gold nugget named "&eKey"
- 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
- set {key.cooldown.%player%} to now
- wait 120 seconds
- delete {key.cooldown.%player%}
- on death:
- if victim is a player:
- if victim has permission "procommand.sk":
- execute console command "/lp user %victim% parent remove pro"
- execute console command "/lp user %victim% parent set noob"
- send "&cYou have ranked down due to death" to victim
- else if victim has permission "mastercommand.sk":
- execute console command "/lp user %victim% parent remove master"
- execute console command "/lp user %victim% parent set pro"
- send "&cYou have ranked down due to death" to victim
- else if victim has permission "noobcommandd.sk": # Fixed typo
- execute console command "/lp user %victim% parent remove noob"
- execute console command "/lp user %victim% parent set prisonor" # Fixed "prisonor"
- send "&cYou have ranked down due to death" to victim
- on step on blue glazed terracotta:
- if player has permission "group.fighter":
- execute console command "lp user %player% parent remove fighter"
- execute console command "lp user %player% parent add captain"
- on death:
- if victim is a player:
- if victim has permission "group.champion":
- execute console command "/lp user %victim% parent remove champion"
- execute console command "/lp user %victim% parent set champion"
- send "&aYou have champion so you didnt rank down" to victim
- on death:
- if victim is a player:
- if victim has permission "group.fighter":
- execute console command "/lp user %victim% parent remove fighter"
- execute console command "/lp user %victim% parent set fighter"
- send "&aYou have fighter so you didnt rank down" to victim
- on death:
- if victim is a player:
- if victim has permission "group.captain":
- execute console command "/lp user %victim% parent remove captain"
- execute console command "/lp user %victim% parent set captain"
- send "&aYou have captain so you didnt rank down" to victim
- on step on diamond block:
- if player has permission "mastercommand.sk":
- execute console command "/lp user %player% parent remove master"
- execute console command "/lp user %player% parent add champion"
- on step on emerald block:
- give player 1 kelp named "&aTicket"
- send "&estep on the white wool while holding ticket to enter!" to player
- execute console command "tp %player% 159 -62 -155"
- on step on white wool:
- if player's tool is kelp:
- if "%display name of player's tool%" is "&aTicket": # Check if the kelp is named "Ticket"
- remove 1 of player's tool from player
- send "&aYou have entered the &ePro Course &ato have a chance to rank up!" to player
- execute console command "tp %player% 164 -63 -156"
- else:
- send "&cYou must hold a ticket and step on white wool to enter!" to player
- else:
- send "&cYou must hold and step on white wool to enter!" to player
- on step on yellow wool:
- give player 1 gold nugget named "&eKey"
- send "&estep on the yellow carpet at end of course behind you while holding Key to enter!" to player
- execute console command "tp %player% 122 26 -174"
- on step on yellow carpet:
- if player's tool is gold nugget:
- if "%display name of player's tool%" is "&eKey": # Check if the kelp is named "Ticket"
- remove 1 of player's tool from player
- send "&aYou have entered the &eMaster Course &ato have a chance to rank up!" to player
- execute console command "tp %player% 155 131 -158"
- else:
- send "&cYou must hold a key and step on yellow carpet to enter!" to player
- else:
- send "&cYou must hold a key and step on yellow carpet to enter!" to player
- on first join:
- execute console command "lp user %player% parent set noob"
- teleport player to location(-1836, -50, -825, world("overworld"))
- send "&aWelcome to Hcparkourciv, %player%! You've been teleported to the starting location!" to player
- on sign change:
- if player is not op:
- cancel event
- send "&cYou do not have permission to edit signs!" to player
- on step on redstone block:
- if player's group is "prisonor": # Checks LuckPerms group directly
- execute console command "lp user %player% parent set noob"
- on step on redstone block:
- if player's group is "default": # Checks LuckPerms group directly
- execute console command "lp user %player% parent set noob"
- on death:
- if victim has permission "procommand.sk": # ✅ FIXED PERMISSION CHECK
- remove all iron boots from victim's inventory
- equip victim with leather boots
- on inventory click:
- if player has permission "noobcommandd.sk":
- if clicked slot = 8: # Boots slot index
- cancel event
- on death:
- if victim has permission "noobcommandd.sk":
- equip victim with leather boots
- on respawn:
- if player has permission "noobcommandd.sk":
- equip player with leather boots
- on death:
- if victim has permission "mastercommand.sk": # ✅ FIXED PERMISSION CHECK
- remove all golden boots from victim's inventory
- equip victim with iron boots
- on death:
- if victim has permission "championcommand.sk": # ✅ FIXED PERMISSION CHECK
- equip victim with diamond boots
- on death:
- if victim has permission "fightercommand.sk": # ✅ FIXED PERMISSION CHECK
- equip victim with chainmail boots
- on every tick:
- loop all players:
- if loop-player does not have permission "procommand.sk":
- set hunger of loop-player to 3
- on step on iron block:
- if player has permission "noobcommandd.sk":
- set hunger of player to 20
- on death:
- if victim is a player:
- if victim has permission "mastercommand.sk":
- set hunger of victim to 20
- command /mutecheat <player>:
- permission: op
- trigger:
- set {muted::%arg-1%} to true
- send "&c%arg-1% has been muted from using commands!" to all players
- on command:
- if {muted::%player%} is true:
- cancel event
- send "&cYou are not allowed to use commands!" to player
- command /unmutecheat <player>:
- permission: op
- trigger:
- delete {muted::%arg-1%}
- send "&a%arg-1% can now use commands again!" to all players
- on inventory click:
- if player has permission "noobcommandd.sk":
- if event-slot = 36: # Boots slot in player inventory
- if event-item is leather boots:
- cancel event
- on inventory click:
- if player has permission "procommand.sk":
- if event-slot = 36:
- if event-item is iron boots:
- cancel event
- on inventory click:
- if player has permission "mastercommand.sk":
- if event-slot = 36:
- if event-item is golden boots:
- cancel event
- on inventory click:
- if player has permission "championcommand.sk":
- if event-slot = 36:
- if event-item is diamond boots:
- cancel event
- on inventory click:
- if player has permission "fightercommand.sk":
- if event-slot = 36:
- if event-item is chainmail boots:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment