Witam. Trochę sobie dodałem rzeczy do skryptu lecz jest taki problem iż, niestety nie działa:
options:
czas: {}
Sprawdziłem i ustawiłem 10 sekund i po 10 sekundach czaszka nadal była
Skrypt:
Spoiler
options:
czas: 1000000
on death:
if victim and attacker is a player:
if {skull::%victim%} is set:
clear {skull::%victim%}
execute console command "effect clear %victim% minecraft:glowing"
wait 1 seconds
execute console command "effect clear %victim% minecraft:slowness"
wait 1 seconds
execute console command "effect clear %victim% minecraft:mining_fatigue"
wait 1 seconds
execute console command "effect give %attacker% minecraft:regeration 10"
wait 1 seconds
execute console command "effect give %attacker% minecraft:absorption 900"
wait 1 seconds
execute console command "eco give %attacker% 200"
wait 1 seconds
execute console command "eco take %victim% 300"
send subtitle "&eZabiłeś gracza z czaszką! &a+$200" to attacker
broadcast "&aGracz &c%attacker% &azabił agresywnego gracza &6GRATULACJE! &a &aNagroda: &a+200$"
else:
set {skull::%attacker%} to true
execute console command "effect give %attacker% minecraft:glowing 1000000"
wait 1 seconds
execute console command "effect give %attacker% minecraft:slowness 900"
wait 1 seconds
execute console command "effect give %attacker% minecraft:mining_fatigue 900"
wait 3 seconds
send title "&4Kara" witch subtitle "Efekt wydobycia i spowolnienia trwa 15 minut"
execute console command "eco take %attacker% 50"
send title "☠" with subtitle "&eZabiłeś pokojowego gracza! &c-$50" to attacker
broadcast "&cGracz &a%attacker% &czabił pokojowego gracza &c &ckara&c: &c-50$ &ci &cczaszka"
set {cd::skull::%attacker%} to now
on placeholderapi request for prefix "skript":
if the identifier is "czaszka":
if {skull::%player%} is set:
set the result to "☠"
else:
set the result to ""
on damage:
if {skull::%attacker%} is true:
if difference between {cd::skull::%attacker%} and now is bigger than {@czas} seconds:
clear {skull::%attacker%}
command /czaszki:
trigger:
send "&eLista osób z czaszką:"
loop {skull::*}:
add loop-index to {_s::*}
send "%{_s::*}%"
Pytanie
TalibKweli25 0
Witam. Trochę sobie dodałem rzeczy do skryptu lecz jest taki problem iż, niestety nie działa:
options:
czas: {}
Sprawdziłem i ustawiłem 10 sekund i po 10 sekundach czaszka nadal była
Skrypt:
options:
czas: 1000000
on death:
if victim and attacker is a player:
if {skull::%victim%} is set:
clear {skull::%victim%}
execute console command "effect clear %victim% minecraft:glowing"
wait 1 seconds
execute console command "effect clear %victim% minecraft:slowness"
wait 1 seconds
execute console command "effect clear %victim% minecraft:mining_fatigue"
wait 1 seconds
execute console command "effect give %attacker% minecraft:regeration 10"
wait 1 seconds
execute console command "effect give %attacker% minecraft:absorption 900"
wait 1 seconds
execute console command "eco give %attacker% 200"
wait 1 seconds
execute console command "eco take %victim% 300"
send subtitle "&eZabiłeś gracza z czaszką! &a+$200" to attacker
broadcast "&aGracz &c%attacker% &azabił agresywnego gracza &6GRATULACJE! &a &aNagroda: &a+200$"
else:
set {skull::%attacker%} to true
execute console command "effect give %attacker% minecraft:glowing 1000000"
wait 1 seconds
execute console command "effect give %attacker% minecraft:slowness 900"
wait 1 seconds
execute console command "effect give %attacker% minecraft:mining_fatigue 900"
wait 3 seconds
send title "&4Kara" witch subtitle "Efekt wydobycia i spowolnienia trwa 15 minut"
execute console command "eco take %attacker% 50"
send title "☠" with subtitle "&eZabiłeś pokojowego gracza! &c-$50" to attacker
broadcast "&cGracz &a%attacker% &czabił pokojowego gracza &c &ckara&c: &c-50$ &ci &cczaszka"
set {cd::skull::%attacker%} to now
on placeholderapi request for prefix "skript":
if the identifier is "czaszka":
if {skull::%player%} is set:
set the result to "☠"
else:
set the result to ""
on damage:
if {skull::%attacker%} is true:
if difference between {cd::skull::%attacker%} and now is bigger than {@czas} seconds:
clear {skull::%attacker%}
command /czaszki:
trigger:
send "&eLista osób z czaszką:"
loop {skull::*}:
add loop-index to {_s::*}
send "%{_s::*}%"
Odnośnik do komentarza
Udostępnij na innych stronach
7 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
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ą.