1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can someone please help me with this script? stg im brain dead today

Discussion in 'Skript' started by Beeshot, Oct 9, 2021.

  1. Beeshot

    Beeshot Member

    Joined:
    Oct 9, 2021
    Messages:
    1
    Likes Received:
    0
    Code (Text):
    1. command /Eyes:
    2.     trigger:
    3.         summon zombie
    4.         set name of last spawned zombie to "&5Eye of Insanity"
    5.         set helmet of last spawned zombie to ("Robeeh" parsed as an offline player)'s skull named "&5Eye of Insanity"
    6.         apply potion of invisibility of tier 255 without particles to last spawned entity for 99999 seconds
    7.         apply potion of slowness of tier 255 without particles to spawned entity for 99999 seconds
    8.         apply potion of weakness of tier 255 without particles to spawned entity for 99999 seconds
    9.         apply potion of resistance of tier 3 without particles to spawned entity for 99999 seconds
    10.         set {eyes.%entity%} to true
    11.         play sound "ambient.soul_sand_valley.mood" with volume 15 and pitch 1
    12.         broadcast "&5Decay Within the Gaze of a God..."
    13.  
    14. if target entity of player is set:
    15.     if {eyes.%target%} is true:
    16.         wait 0.5 seconds
    17.         damage player by 1[CODE]
    18.  
    19.  
    20. The idea of this is when a player looks at the mob it will deal damage to the player but for the life of me i cant figure it out
    --- Double Post Merged, Oct 9, 2021, Original Post Date: Oct 9, 2021 ---
    ignore 20 lol i just made my account here and didnt know it would put that in the script
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    Every code has to be put into a trigger - there is none.
     
  3. oToghty

    VIP Supporter +

    Joined:
    Sep 1, 2020
    Messages:
    142
    Likes Received:
    5
    You could use a while loop for this
     

Share This Page

Loading...