Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
variables:
{giantid::1} = 1
every 5 seconds:
loop all giants:
set {_count} to 1
loop (last element of {giantid::*}) times:
if display name of loop-entity contains "Giant %{_count}%":
set location of loop-entity to {giant::%{_count}%}
exit 1 loop
add 1 to {_count}
loop all giants:
if display name of loop-entity doesn't contain "Giant":
add ((last element of {giantid::*}) + 1)) to {giantid::*}
set display name of loop-entity to "Giant %(last element of {giantid::*})%"
set {_test} to 1
loop all giants:
set {_name} to display name of loop-entity
replace all "Giant " with "" in {_name}
set {_name} to ({_name} parsed as integer)
add {_name} to {giants::*}
loop {giantid::*}:
if contains({giants::*}, loop-value) is false:
spawn a giant at {giant::%loop-value%}
set display name of last spawned giant to "Giant %loop-value%"
variables:
{giantid::1} = 1
every 5 seconds:
loop all giants:
set {_count} to 1
loop (last element of {giantid::*}) times:
if display name of loop-entity contains "Giant %{_count}%":
set {giant::%{_count}%} location of loop-entity
exit 1 loop
add 1 to {_count}
loop all giants:
if display name of loop-entity doesn't contain "Giant":
add ((last element of {giantid::*}) + 1)) to {giantid::*}
set display name of loop-entity to "Giant %(last element of {giantid::*})%"
set {_test} to 1
loop all giants:
set {_name} to display name of loop-entity
replace all "Giant " with "" in {_name}
set {_name} to ({_name} parsed as integer)
add {_name} to {giants::*}
loop {giantid::*}:
set {_lv} to loop-value
if contains({giants::*}, {_lv}) is false:
spawn a giant at {giant::%loop-value%}
set display name of last spawned giant to "Giant %loop-value%"
variables:
{giantid::1} = 1
every 5 seconds:
loop all giants:
set {_count} to 1
loop (last element of {giantid::*}) times:
if display name of loop-entity contains "Giant %{_count}%":
set {giant::%{_count}%} to location of loop-entity
exit 1 loop
add 1 to {_count}
loop all giants:
if display name of loop-entity doesn't contain "Giant":
add ((last element of {giantid::*}) + 1)) to {giantid::*}
set display name of loop-entity to "Giant %(last element of {giantid::*})%"
set {_test} to 1
loop all giants:
set {_name} to display name of loop-entity
replace all "Giant " with "" in {_name}
set {_name} to ({_name} parsed as integer)
add {_name} to {giants::*}
loop {giantid::*}:
set {_lv} to loop-value
set {_boo} to contains({giants::*}, {_lv})
if {_boo} is false:
spawn a giant at {giant::%loop-value%}
set display name of last spawned giant to "Giant %loop-value%"