command /bangui [<offlineplayer>]:
permission: op
trigger:
set {_p} to "%arg-1%"
set {_gui} to a new chest inventory with 3 row named "&cBan GUI"
set slot 10 of {_gui} to a book of infinity 10 named "&cCheaty"
set slot 26 of {_gui} to arg 1's skull named "&cGracz ktorego chcesz zbanowac:" with lore "&e&l%arg-1%"
open {_gui} to player
on inventory click:
if name of player's current inventory is "&cBan GUI":
if index of event-slot = 10:
cancel event
ban {_p} due to "&cCheatowanie | 2 Dni" for 2 days
if index of event-slot = 22:
cancel event
close player's inventory
Jestem nowy jesli chodzi o Skript, moze ktos pomoc? Probowalem zrobic gui na bana
Pytanie
Moneverix 0
Wstawiam w code, poprawiam tytuł i treść
Notatka dodana przez xAxee
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi