Skocz do zawartości
  • 0

Mam pytanie naprawi ktoś skript


Pytanie

command /menu:
    trigger:
        open chest inventory with 6 rows named "&lMenu" to player
        set slot 0 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 1 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 7 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 8 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 9 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 17 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 36 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 44 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 45 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 46 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 52 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 53 of player's current inventory to totem of undying named "&4nic tu nie ma!"
        set slot 2 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 3 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 4 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 5 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 6 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 18 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 26 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 27 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 35 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 47 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 48 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 49 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 50 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 51 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 10 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 16 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 37 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 43 of player's current inventory to gray stained glass pane named "&4nic tu nie ma!"
        set slot 11 of player's current inventory to skull of ("AsepSampuldin" parsed as offlineplayer) named "&2Lobby"
        set slot 23 of player's current inventory to red bed named "&4Bedwars!"

on inventory click:
    name of player's current inventory = "&lMenu"
    wait 3 tick
    

    
  
on inventory click:
    name of player's current inventory = "&lMenu"
    close player's inventory
    wait 1 tick
    clicked slot is 11
    teleport player to location at 100.0, 72, 100.0 in world "world"
    send "&7Jestes w lobby"
    


        
command /lobby:
    trigger: 
        teleport player to location at 225.0, 115, 248.0 in world "world"
        send "Jesteś teraz w lobby" to player
        
on inventory click:
    name of player's current inventory = "&lMenu"
    close player's inventory
    wait 1 tick
    clicked slot is 23
    teleport player to location at 100.0, 72, 100.0 in world "world"
    send "&7Jestes na serverze bedwars"    
    
command /bedwars:
    trigger: 
        teleport player to location at 225.0, 115, 248.0 in world "world"
        send "Jesteś teraz w lobby" to player

 

GRIERIOR

Dodaje formatowanie code.

Notatka dodana przez GRIERIOR

Odnośnik do komentarza
https://skript.pl/temat/50050-mam-pytanie-naprawi-kto%C5%9B-skript/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

zamień wszędzie

teleport player to location at 225.0, 115, 248.0 in world "world"

na to:

teleport player to location(225.0, 115, 248.0, world)

 

 

on inventory click:
	if event-item is stone: #tutaj dajesz item, jaki znajduje się w danym slocie
		if name of player's current inventory is "&lMenu":
			close player's inventory
			wait 1 tick
			teleport player to location(100.0, 72, 100.0, world)
			send "&7Jestes na serverze bedwars"

 

Edytowane przez hbrt
PS idę na spanko
Glicz

Łączę posty.

Notatka dodana przez Glicz

Odnośnik do komentarza
https://skript.pl/temat/50050-mam-pytanie-naprawi-kto%C5%9B-skript/#findComment-310169
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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