Skocz do zawartości
  • 0

Skrypt Home gui


Antoleeek12

Pytanie

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Było takich skryptów napraaaawde ogrom, polecam użyć internetu lub wyszukiwarki na forum, jezeli nie znajdzie Pan skryptu który Panu odpowiada to proszę uszczególnić co Pan by w nim chciał zobaczyć.
Pozdrawiam.

Odnośnik do komentarza
https://skript.pl/temat/58182-skrypt-home-gui/#findComment-345172
Udostępnij na innych stronach

  • 0
command /sethome:
  permission: permisja.sethome
  trigger:
    set {_menu} to a new chest inventory with 1 rows named "&6&lFireHomes &7&l>> &6Utwórz Home"
    set slot 0 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 1 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 2 of {_menu} to black stained glass pane named "&6&lFireHomes"

    set slot 6 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 7 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 8 of {_menu} to black stained glass pane named "&6&lFireHomes"
    if {homelocationA::%player's uuid%} is not set:
      set slot 3 of {_menu} to red stained glass pane named "&4Brak" with lore "&7Nie Posiadasz Tutaj Ustawionego Home."
    else:
      set slot 3 of {_menu} to lime stained glass pane named "&aZajęte" with lore "&7Posiadasz Tutaj Ustawiony Home," and "&cA"
    if {homelocationB::%player's uuid%} is not set:
      set slot 4 of {_menu} to red stained glass pane named "&4Brak" with lore "&7Nie Posiadasz Tutaj Ustawionego Home."
    else:
      set slot 4 of {_menu} to lime stained glass pane named "&aZajęte" with lore "&7Posiadasz Tutaj Ustawiony Home," and "&cB"
    if {homelocationC::%player's uuid%} is not set:
      set slot 5 of {_menu} to red stained glass pane named "&4Brak" with lore "&7Nie Posiadasz Tutaj Ustawionego Home."
    else:
      set slot 5 of {_menu} to lime stained glass pane named "&aZajęte" with lore "&7Posiadasz Tutaj Ustawiony Home," and "&cC"
    show {_menu} to player
    stop

on inventory click:
  if name of event-inventory is "&6&lFireHomes &7&l>> &6Utwórz Home":
    cancel event
    if index of event-slot is 3:
      set {homelocationA::%player's uuid%} to player's location
      close player's inventory
      send "&6&lFireHomes &7&l>> &6Pomyślnie Ustawiono Nowy Home. (&cA&6)" to player
    if index of event-slot is 4:
      set {homelocationB::%player's uuid%} to player's location
      close player's inventory
      send "&6&lFireHomes &7&l>> &6Pomyślnie Ustawiono Nowy Home. (&cB&6)" to player
    if index of event-slot is 5:
      set {homelocationC::%player's uuid%} to player's location
      close player's inventory
      send "&6&lFireHomes &7&l>> &6Pomyślnie Ustawiono Nowy Home. (&cC&6)" to player
  else:
    if name of event-inventory is "&6&lFireHomes &7&l>> &6Teleportuj Się Na Home":
      cancel event
      if index of event-slot is 3:
        teleport player to {homelocationA::%player's uuid%}
        close player's inventory
        send "&6&lFireHomes &7&l>> &6Pomyślnie Przeteleportowano Do Home (&cA&6)" to player
      if index of event-slot is 4:
        teleport player to {homelocationB::%player's uuid%}
        close player's inventory
        send "&6&lFireHomes &7&l>> &6Pomyślnie Przeteleportowano Do Home (&cB&6)" to player
      if index of event-slot is 5:
        teleport player to {homelocationC::%player's uuid%}
        close player's inventory
        send "&6&lFireHomes &7&l>> &6Pomyślnie Przeteleportowano Do Home (&cC&6)" to player
  stop

         

command /home:
  permission: permisja.home
  trigger:
    set {_menu} to a new chest inventory with 1 rows named "&6&lFireHomes &7&l>> &6Teleportuj Się Na Home"
    set slot 0 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 1 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 2 of {_menu} to black stained glass pane named "&6&lFireHomes"

    set slot 6 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 7 of {_menu} to black stained glass pane named "&6&lFireHomes"
    set slot 8 of {_menu} to black stained glass pane named "&6&lFireHomes"
    if {homelocationA::%player's uuid%} is not set:
      set slot 3 of {_menu} to red stained glass pane named "&4Brak" with lore "&7Nie Posiadasz Tutaj Ustawionego Home."
    else:
      set slot 3 of {_menu} to lime stained glass pane named "&aZajęte" with lore "&7Posiadasz Tutaj Ustawiony Home," and "&cA"
    if {homelocationB::%player's uuid%} is not set:
      set slot 4 of {_menu} to red stained glass pane named "&4Brak" with lore "&7Nie Posiadasz Tutaj Ustawionego Home."
    else:
      set slot 4 of {_menu} to lime stained glass pane named "&aZajęte" with lore "&7Posiadasz Tutaj Ustawiony Home," and "&cB"
    if {homelocationC::%player's uuid%} is not set:
      set slot 5 of {_menu} to red stained glass pane named "&4Brak" with lore "&7Nie Posiadasz Tutaj Ustawionego Home."
    else:
      set slot 5 of {_menu} to lime stained glass pane named "&aZajęte" with lore "&7Posiadasz Tutaj Ustawiony Home," and "&cC"
    show {_menu} to player
    stop

Proszę tutaj skrypt, który udało mi się wynaleźć w moich plikach. Możesz sobie pozmieniać rzeczy jakie chcesz.

Edytowane przez F1re
Odnośnik do komentarza
https://skript.pl/temat/58182-skrypt-home-gui/#findComment-345175
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...