Skocz do zawartości

Fendi

Użytkownik
  • Ilość zawartości

    1786
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    80

Treść opublikowana przez Fendi

  1. Fendi

    Config

    skript-yaml
  2. set {_} to y-loc of location of player set {_x} to x-loc of location of player set {_z} to z-loc of location of player while location({_x}, {_}, {_z}) is in region "jakisregion": add 1 to {_} send {_} A to w zasadzie by dzialalo?
  3. on damage: victim is a player damage victim's helmet by 1 damage victim's chestplate by 1 damage victim's leggings by 1 damage victim's boots by 1 Jezeli nie wystarczy to te 1 zamien na np 0.3 czy cos tego typu
  4. wydaje mi sie ze chce znaleźć ostatnią kratkę ktora nalezy do regionu
  5. Wygląda bardzo fajnie i ładnie. +
  6. Czemu po prostu nie uzyjesz pluginu na tnt run, zamiast robic to w skripcie?
  7. Fendi

    .

    a co sie wysyla wtedy
  8. Fendi

    .

    Bo musisz kliknac gracza, nie moze byc to zaden npc.
  9. Zaktualizowano na najnowsze wersje i poprawiono dzialanie listy telefonow.
  10. Fendi

    .

    on rightclick: send "&aDebug 1" to player clicked entity is a player send "&aDebug 2" to player player's held item is diamond sword send "&aDebug 3" to player set {_czas} to difference between {cd::1::%player%} and now if {_czas} isn't less than 10 seconds: send "&aDebug 4" to player set {cd::1::%player%} to now execute player command "/duel %clicked entity%" else: send "Poczekaj 2 sekundy" Wyslij screena co ci wypisze
  11. Fendi

    .

    on rightclick: clicked entity is a player player's held item is diamond sword set {_czas} to difference between {cd::1::%player%} and now if {_czas} isn't less than 10 seconds: set {cd::1::%player%} to now execute player command "/duel %clicked entity%" else: send "Poczekaj 2 sekundy" Sprawdz to
  12. Fendi

    Kusza Spidermana

    Tworzenie cooldownow w taki sposob nie jest optymalne, m.in. przez loopa graczy co sekunde. Na wiki jest tutorial jak fajnie to zrobic poprzez porownanie czasu https://wiki.skript.pl/Odstępy_czasowe
  13. Fendi

    Sklejka skryptów

    loop 55 times: set {_gui}'s slot loop-value - 1 to black glass pane named " " zamien na set slot (integers between 0 and 27) of {_gui} to black glass pane named " " Mozliwe ze blad jaki wystepuje, jest przez to ze nie sprawdzasz jakie jest to inventory on inventory click: event-inventory is not player's inventory if (name of event-inventory is "&c&lPomoc"): cancel event
  14. Fendi

    Skrypt na /losowanie

    {loteria} Używając {_loteria} nie zasmiecasz serwera loop 3*9 times: set slot ((loop-number) - 1) of {loteria} to black stained glass pane named "&6&lLoteria" lepiej to set slot (integers between 0 and 27) of {_loteria) to .... on inventory click: if name of event-inventory is "&8--------&7> &6&lLoteria &7<&8--------": cancel event a co jak ktos kliknie w swoim eq? event-inventory is not player's inventory warto dodac takie zabezpieczenie set slot 0 of {loteria} to lime concrete named "&a&lWygrałeś (500$)" gdy zamienisz {loteria} na zmienną czasową wtedy tutaj zamien na "event-inventory"
  15. bo miales to zrobic tylko w miejscu jakie ci pokazalem, z jednego bledu teraz zrobiles 2 function dajCD(p: player, v: text, t: text, s: timespan) :: boolean: if difference between {cooldown::%{_v}%::%{_p}%} and now is smaller than {_s}: remove difference between now and {cooldown::%{_v}%::%{_p}%} from {_s} set {_s} to "%{_s}%" replace all "seconds" and "second" with "s" in {_s} replace all "minute" and "minutes" with "m" in {_s} send "%{_t}% %{_s}%" to {_p} return false else: set {cooldown::%{_v}%::%{_p}%} to now return true on death of player: victim is in region "wiosna" attacker is a player dajCD(attacker, "%victim%", "&8 Przed następnym zabójstwem tego gracza poczekaj&7", 5 minutes) = true give attacker 1 slime ball named "&aᴡɪᴏsᴇɴɴʏ &fᴏᴅʟᴀᴍᴇᴋ"
  16. if player's offhand tool is diamond pickaxe named "&e &e&lKilof Szybkości" with lore "&8» &6Haste II":
  17. a racja, tam gdzie masz dajCD(player zamien to player na attacker
  18. command /ustawspawn [<offlineplayer>]: permission: op trigger: set {customspawn::%arg-1%} to location of player on first join: {customspawn::%player%} is set teleport player to {customspawn::%player%} delete {customspawn::%player%}
  19. Czemu nie opiszesz w jaki sposob ma to dzialac. Po co ktos ma sobie marnowac czas zeby wejsc na jakis smieszny serwerek.
  20. Fendi

    skrypt luckperm prefixy

    Przeciez wysłałem ci dodatek który samemu sie "wpycha" do papi https://github.com/APickledWalrus/skript-placeholders Przykład jak użyć: set {_ping} to placeholder "player_ping" from player
  21. Fendi

    Skrypt na customowe itemy

    on armor change: remove speed from player uncolored name of player's boots contains "Buty Szybkosci" apply infinite speed of tier 2 without any particles to player replacing existing effect on tool change: remove haste from player uncolored name of player's tool contains "Kilof Szybkosci" apply infinite haste of tier 2 without any particles to player replacing existing effect
  22. https://skript.pl/temat/57153-stworzenie-regionu/ analogiczny sposob co tutaj
  23. Fendi

    Stworzenie regionu

    Nie jest to najpoprawniejszy sposob, stworzylem jednemu użytkownikowi na discordzie, ale jezeli nie masz innych mozliwosci to mozesz uzyc sposobu w jaki ja to zrobilem.
  24. command /zmientryb: trigger: set {_gui} to chest inventory with 1 row named "Zmien tryb" set slot 0 of {_gui} to red dye named "Anarchia SMP" with lore "&7To jest tryb Anarchia SMP." open {_gui} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "Zmien tryb": send title """Laczenie...""" wait 40 ticks kick the player due to "&ctest" Powinno dzialac, i troche ulepszylem
  25. function dajCD(p: player, v: text, t: text, s: timespan) :: boolean: if difference between {cooldown::%{_v}%::%{_p}%} and now is smaller than {_s}: remove difference between now and {cooldown::%{_v}%::%{_p}%} from {_s} set {_s} to "%{_s}%" replace all "seconds" and "second" with "s" in {_s} replace all "minute" and "minutes" with "m" in {_s} send "%{_t}% %{_s}%" to {_p} return false else: set {cooldown::%{_v}%::%{_p}%} to now return true on death of player: victim is in region "wiosna" attacker is a player dajCD(player, "%victim%", "&8 Przed następnym zabójstwem tego gracza poczekaj&7", 5 minutes) = true give attacker 1 slime ball named "&aᴡɪᴏsᴇɴɴʏ &fᴏᴅʟᴀᴍᴇᴋ" Sprawdz czy dziala https://skript.pl/temat/55690-skrypt-na-proste-tworzenie-cooldownów/
×
×
  • Dodaj nową pozycję...