Guardian

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Twooze

Member
Aug 13, 2018
4
0
0
24
Hey everyone,

I basically need a skript that spawns a guardian above a player, and follows the player wherever he goes. The guardian needs to float above the player. I would also like the guardian to use a beam to target it's owners opponent (in a fight) with a visual beam that would induce a potion effect on that said player. Now, with that being said, I suck at skripts. Any and all help is very appreciated. Here's what I have (try not to laugh):

code_language.skript:
command /guardian:
    trigger:
        spawn a guardian at location of player
        set the display name of the last spawned guardian to "&6&lTwooze's &7Guardian"
        set the target of the last spawned guardian to the player
        while spawned entity exists:
            make spawned entity pathfind to player with speed 1
            wait 1 tick
 
Status
Not open for further replies.