Jump to content

Catsrule3265

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Catsrule3265

  1. On 1/21/2021 at 4:47 PM, _Tarna_ said:

    So like here is an example of how you could do it

    
    on spawn of zombie:
    	set event-entity's max health to 5

    This makes it when ever a zombie spawns, their max health gets set to 5.

    Then to add this skript, first download the skript plugin and restart the server. Then in the file manager go to plugins > skript > scripts. In the scripts folder, make a file called like mobs.sk. It can be called anything but just has to end in .sk. Then paste the skript there and click save. Then in game do /sk reload mobs and now the skript should be working. 

    I don't think it worked I gave the enderman 200 health but I still kill them in 18-21 hits

×
×
  • Create New...