Custom Mob isn't working

  • 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 community!

    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.

Lylac_

New Member
Mar 28, 2021
5
0
1
I need help making a custom mob for my server, but it wont spawn when I try and set the time. Can anybody help?

At 3am:
send "&4&lThe blood moon has risen." to all players
play sound "entity.wolf.howl" to all players
loop all players:
chance of 90%:
Set {_N} to random number between 3 and 6
Loop {_N} Times:
Summon stray at loop-player's location
Set {_S} to last spawned entity
Make {_S} invulnerable
Set name of {_S} to "&7Shrieker"
Set tool of {_S} to Netherite Sword or Netherite Axe or Diamond Sword or Diamond Axe or Air

At 6am:
Loop all entities:
loop-entity is Stray
name of loop-entity is "&7Shrieker"
Play 30 cloud at loop-entity
Kill Loop-Entity
 
Not sure, it seems fine to me but
1. please use code blocks
2. why are you making the start of every line to an uppercase letter, It's nothing that wouldn't work, but it's making my eyes bleed
 
Status
Not open for further replies.