Skocz do zawartości

Fendi

Użytkownik
  • Ilość zawartości

    1780
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    79

Treść opublikowana przez Fendi

  1. Fendi

    Problem z INVSEE

    Podeślesz jeszcze raz kod, bo zakładam że coś zmieniałeś i nie jest taki sam jak ten na samej gorze. Poza tym piszesz o invsee, a komende masz /sprawdz. Jest to to samo?
  2. Fendi

    Cooldown na fajerwerke

    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 right click with firework rocket: cancel event if dajCD(player, "rakieta", "&3[Rakieta]&8 Przed następnym użyciem poczekaj&7", 3 seconds) = false prosze, licze na like
  3. Fendi

    Skrypt fortuna

    on break: event-block is diamond ore player's tool is enchanted with fortune set {_} to level of fortune of player's tool set {_a} to random integer from 1 to 10 give {_a}*{_} of diamond to player Tak będzie krócej, optymalniej oraz w dodatku przetestowałem i działa.
  4. Fendi

    Gui

    command /gracze: trigger: set {_} to chest inventory with 3 rows named "&3Gracze" set slot (integers between 0 and 27) of {_} to black stained glass pane set slot 13 of {_} to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" open {_} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&3Gracze": cancel event while name of player's current inventory is "&3Gracze": set slot 13 of event-inventory to book named "&3Lista graczy:" with lore "&aLiczba graczy na serwerze: %amount of players%" wait second Nie wiem czy to jest najlepszy sposob, ale po jednym kliknieciu w gui bedzie ci juz je odswiezac. Nie mam twojego skryptu do gry, więc za przykład włożyłem tu liczbę wszystkich graczy.
  5. command /dailyrewards: permission: {@daily_use} trigger: set {_} to chest inventory with 3 rows named "{@gui_name}" set slot (integers between 0 and 27) of {_} to black stained glass pane if difference between {daily::%player's uuid%} and now is smaller than {@cooldown}: set slot 13 of {_} to {@claimed_item} named "{@unclaimed_item_name}" with lore "{@reward_name}" and "" and "{@claimed}" else: set slot 13 of {_} to {@unclaimed_item} named "{@claimed_item_name}" with lore "{@reward_name}" and "" and "{@unclaimed}" open {_} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "{@gui_name}": cancel event if clicked slot is 13: close player's inventory if clicked slot is {@claimed_item}: play sound "entity.villager.no" with volume 2 to player send "{@prefix}{@cooldown_message}" to player else if clicked slot is {@unclaimed_item}: {@reward_cmd} play sound "block.note_block.bell" with volume 2 to player set {daily::%player's uuid%} to now send "{@prefix}{@claimed_message}" to player command /tezedd: trigger: clear {daily::%player's uuid%} options: claimed: &cClaimed! unclaimed: &aClick To Claim! prefix: &d&lDaily &7&l»&r daily_use: daily.use cooldown: 24 hours gui_name: &d&lDaily Rewards unclaimed_item: minecart with chest unclaimed_item_name: &6Daily Reward claimed_item_name: &6Daily Reward claimed_item: minecart reward_name: &7+1 &bDiamond reward_cmd: give 1 of diamond to player claimed_message: &a Successfully claimed! cooldown_message: &c This reward is on cooldown! Prosze, licze na like
  6. Fendi

    Skrypt Na /hat

    Przy kopiowaniu twojego skryptu, wylały mi się taby w drugiej linijce Musiałeś jakoś źle skopiować, niby nic trudnego do naprawy ale jak ktos nic nie ogarnia to nie bedzie wiedziec czemu nie dziala.
  7. raczej mało przydatne, łatwo ominąć, tak jak kolega wyżej napisał lub po prostu wystarczy tabować
  8. Fendi

    dowódSK

    Zaspoileruję, że skrypt nie będzie działać, brak tabów, czy osób do jakich jest wysyłana wiadomość (w przypadku wersji 2.8). Pomijając, że źle jest to zrobione. on load nie jest do zapisywania takich rzeczy, od tego jest options Tak samo nie używa się czegoś takiego "execute console command"
  9. command /Setchest: trigger: set block at player to dirt set {Rchest} to location at player send "&apomyslnie utworzyles skrzynie skarbow" on right click on dirt: if distance between location of target block of player and {Rchest} is smaller than 1: send "&abrawo udalo sie! :)" to the player else: send "&cniestety to nie to zle kordynaty :(" to the player To będzie działać. Problem był w tym, że lokacja bloku i gracza (zapisana w zmiennej) nie pokrywała się ze soba w 100%, była różnica np 0.3 kratki przez to nie działało. Ja tutaj zrobiłem margines błedu 1 bloku, myślę, że w niczym nie przeszkodzi, a rozwiązuje problem.
  10. Fendi

    gamemode na 10/30 sekund

    Porady? 1. Nie używaj execute player/console command 2. Nie rób ściany z wait second, to można bardzo prosto zautomatyzowac poprzez while 3. Można zrobić 1 komende z dwoma argumentami zamiast 2 komendy
  11. https://github.com/SkriptLang/skript-worldguard A to?
  12. Fendi

    Skrypt na Expiarke

    nic dziwnego skoro pisalo to ai Na ogół wszystko co z mobami to najlepiej w mythicmobs zamiast w sk
  13. Fendi

    Skrypt na /mamlive

    command /mamlive [<text>]: trigger: while player is online: send "&a%player% ma LIVE! Wbij do niego.%nl%Jego profil to: %arg-1%" to all players wait 3 minutes
  14. Fendi

    aternos

    nie dodasz, nie wspiera on skripta uzyj https://magmanode.com/ aternos to sciek
  15. Składnia dobra, on pewnie jakoś to źle wpisał
  16. Fendi

    Różczka skrypt

    Zaloz własny wątek zamiast w tym pisac
  17. https://skripthub.net/docs/?id=1101 gdzie jako entity wpisujesz loop-player
  18. uzyj loop all players in radius 10 blocks of player
  19. Fendi

    Różczka skrypt

    command /x: permission: op trigger: give player end rod named "&6&lRóżczka lewitacjii" on right click with end rod: name of player's tool is "&6&lRóżczka lewitacjii" dajCD(player, "lewtiacja", "&3[Lewitacja]&7 Przed następnym użyciem poczekaj&7", 60 seconds) = true loop all players in radius 5 blocks of player: apply levitation to loop-player for 5 seconds 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 powinno dzialac
  20. przeciez wystarczy ta linijke podmienic
  21. Fendi

    Skrypt na placeholder

    command /punkty: trigger: set {_} to placeholder "getsklep_points" from player send "&aTwoje punkty to %{_}%" to player
  22. A uzywasz skript yaml czy wildskript do tego? Kiedyś chyba przy starym skrypcie mialem cos podobnego i zamiast exists wystarczylo dac exist i sie naprawialo
×
×
  • Dodaj nową pozycję...