Aller au contenu

Classement

Contenu populaire

Affichage du contenu avec la meilleure réputation le 22/08/2018 dans Messages

  1. Oh oui, my bad. Je vais éditer ça. EDIT: Voilà, jump et speed changé plus d'execute console!
    1 point
  2. bell opti GG par contre pour donner un effet de potion utilise des syntaxes skript et pas un execute conso... https://skripthub.net/docs/?id=1101
    1 point
  3. Hello, j'ai essayer le gui SkQuery en 1.12, ça foire pas mal du coup je te donne un code fait avec TuSke (qui lui fonctionne ? ) Je me suis également permis d'optimiser un peu le tout et ajouté une vérification si le joueur à l'argent requis pour ouvrir le menu. function guiEffect(player: player, effect: text, value: integer): if {_effect} is "jump_boost": apply jump boost {_value} to {_player} for 1000000 seconds send "&8[&aJump&8] &7>> &ajump &7niveau &a%{_value}% &7activer" to {_player} else: {_effect} is "run": set {_player}'s walk speed to {_value} send "&8[&aSprint&8] &7>> &bspeed &7niveau &a%{_value}% &7activer" to {_player} {_effect} is "fly": set {_player}'s fly speed to {_value} send "&8[&fFly&8] &7>> &ffly &7niveau &a%{_value}% &7activer" to {_player} function guiMenu(player: player, menu: text): open virtual chest inventory with size 6 named "&b%{_menu}%" to {_player} make gui slot 49 of {_player} with barrier named "&cFermer" to close {_menu} is "sprint": make gui slot 12 of {_player} with glowstone dust named "&b%{_menu}% &f1" to run function guiEffect({_player}, "run", 1) make gui slot 14 of {_player} with glowstone dust named "&b%{_menu}% &f2" to run function guiEffect({_player}, "run", 2) make gui slot 22 of {_player} with glowstone dust named "&b%{_menu}% &f3" to run function guiEffect({_player}, "run", 3) make gui slot 30 of {_player} with glowstone dust named "&b%{_menu}% &f4" to run function guiEffect({_player}, "run", 4) make gui slot 32 of {_player} with glowstone dust named "&b%{_menu}% &f5" to run function guiEffect({_player}, "run", 5) {_menu} is "jump": make gui slot 12 of {_player} with glowstone dust named "&b%{_menu}% &f1" to run function guiEffect({_player}, "jump_boost", 4) make gui slot 14 of {_player} with glowstone dust named "&b%{_menu}% &f2" to run function guiEffect({_player}, "jump_boost", 8) make gui slot 22 of {_player} with glowstone dust named "&b%{_menu}% &f3" to run function guiEffect({_player}, "jump_boost", 12) make gui slot 30 of {_player} with glowstone dust named "&b%{_menu}% &f4" to run function guiEffect({_player}, "jump_boost", 16) make gui slot 32 of {_player} with glowstone dust named "&b%{_menu}% &f5" to run function guiEffect({_player}, "jump_boost", 20) {_menu} is "sprint fly": make gui slot 12 of {_player} with glowstone dust named "&b%{_menu}% &f1" to run function guiEffect({_player}, "fly", 1) make gui slot 14 of {_player} with glowstone dust named "&b%{_menu}% &f2" to run function guiEffect({_player}, "fly", 2) make gui slot 22 of {_player} with glowstone dust named "&b%{_menu}% &f3" to run function guiEffect({_player}, "fly", 3) make gui slot 30 of {_player} with glowstone dust named "&b%{_menu}% &f4" to run function guiEffect({_player}, "fly", 4) make gui slot 32 of {_player} with glowstone dust named "&b%{_menu}% &f5" to run function guiEffect({_player}, "fly", 5) on right click with blaze rod: player has permission "use.speed" name of event-item is "&6Speed" player's balance is greater or equal to 1500 open virtual chest inventory with size 3 named "&6Menu &bEffets" to player make gui slot 11 of player with water bottle named "&bSpeed" with lore "&eEffet de speed" to close then run function guiMenu(player, "Sprint") make gui slot 13 of player with water bottle named "&aJump" with lore "&eEffet de jump" to close then run function guiMenu(player, "Jump") make gui slot 15 of player with water bottle named "&fFly" with lore "&eAugmente la vitesse de fly" to close then run function guiMenu(player, "Sprint fly") remove 1500 from player's balance send "&8[&aEffets&8] &7>> &a1500$ &eon était retirer pour l'ouverture du menu" to player
    1 point
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.