Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if arg-1 is "accept":
- if arg-2 is set:
- if {%arg-2%.rpc-demande.%player%} is true:
- play sound "entity.experience_orb.pickup" with volume 15 to player
- play sound "entity.experience_orb.pickup" with volume 15 to arg-2
- set {%player%.rpc-demande.%arg-1%} to false
- set {rpc.id1} to random integer between 1 and 9
- set {rpc.id2} to random integer between 1 and 9
- set {rpc.id3} to random integer between 1 and 9
- open virtual chest inventory with size 3 named "&8PFC &0(&7%{rpc.id1}%%{rpc.id2}%%{rpc.id3}%&0)" to player and arg-2
- make a gui slot 0, 9, 18, 2, 11, 20, 8, 17 and 26 of player and arg-2 with gray stained glass pane named " " to do nothing
- make a gui slot 1 of player and arg-2 with stone with lore "&fLa pierre bat le ciseaux..." named "&7Pierre" to run:
- set {rpc-p1.%id%} to grass
- make a gui slot 10 of player and arg-2 with paper with lore "La feuille bat la pierre..." named "&7Feuille" to run:
- send "item2"
- make a gui slot 19 of player and arg-2 with shears with lore "Le ciseaux bat la feuille..." named "&7Ciseaux" to run:
- send "item3"
- wait 1 second
- make a gui slot 13, 14 and 15 of player and arg-2 with red terracotta named "&c&l5 secondes" to do nothing
- wait 2 seconds
- make a gui slot 13, 14 and 15 of player and arg-2 with orange terracotta named "&c&l4 secondes" to do nothing
- wait 2 seconds
- make a gui slot 13, 14 and 15 of player and arg-2 with yellow terracotta named "&c&l3 secondes" to do nothing
- wait 2 seconds
- make a gui slot 13, 14 and 15 of player and arg-2 with green terracotta named "&c&l2 secondes" to do nothing
- wait 2 seconds
- make a gui slot 13, 14 and 15 of player and arg-2 with lime terracotta named "&c&l1 seconde" to do nothing
- wait 2 seconds
- make a gui slot 13, 14 and 15 of player and arg-2 with white terracotta named "" to do nothing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement