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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
command /guardian <text>:
trigger:
if arg-1 is "on":
set {guardian::%player%} to true
while {guardian::%player%} is true:
if target of player is set:
loop all players in world of player:
if target of player is loop-player:
spawn guardian at location of player
set {_a} to spawned guardian
set gravity of {_a} to false
add "{Silent:1,NoAI:0,ActiveEffects:[{Id:14b,Duration:2147483647,ShowParticles:0b}]}" to nbt of {_a}
make {_a} ride player
spawn squid at location of loop-player
set {_b} to spawned squid
make {_b} ride loop-player
set gravity of {_b} to false
add "{Silent:1,NoAI:1,Air:100,ActiveEffects:[{Id:14b,Duration:2147483647,ShowParticles:0b}]}" to nbt of {_b}
set target of {_a} to {_b}
wait 4.75 seconds
kill loop-player
set {_l} to location of player
set y-pos of {_l} to -200
teleport {_a} to {_l}
kill {_a}
teleport {_b} to {_l}
kill {_b}
wait 0.1 seconds
if arg-1 is "off":
set {guardian::%player%} to false
If you want to make a dog shoot the guardian beam, I suggest you eitherSorry for a lot of suggestion. My question is how to make dog guardian beam
the ability to set the location a guardian shoots at was added in 1 .91.8.8 with viaversion