Basically I'm trying to write a plugin with skript that every minutes spawns 50 of a random monster at the location of all players. However, I also want the mobs to not despawn so im trying to give them a nametag and that kind of works. The biggest problem that im running into is that time is not working everytime I try to do something time based it says "error cannot understand that condition". BTW I am kind of new to skript so I might be making a stupid mistake.
Skript Version: 2.4
Skript Author: Me
Minecraft Version 1.16.3
Full Code:
Command /mob:
trigger:
every 60 seconds:
Loop 2000 times:
Loop all Players:
Chance of 10%:
Spawn 1 zombie at location of loop-player
set name of last spawned entity to “Zombie”
send “&6ZOMBIES” to loop-player
Chance of 10%:
spawn 1 spider at location of loop-player
set name of last spawned entity to "Spider"
send "&6SPIDERS" to loop-player
Errors on Reload: Can't understand conditon every 60 seconds
Skript Version: 2.4
Skript Author: Me
Minecraft Version 1.16.3
Full Code:
Command /mob:
trigger:
every 60 seconds:
Loop 2000 times:
Loop all Players:
Chance of 10%:
Spawn 1 zombie at location of loop-player
set name of last spawned entity to “Zombie”
send “&6ZOMBIES” to loop-player
Chance of 10%:
spawn 1 spider at location of loop-player
set name of last spawned entity to "Spider"
send "&6SPIDERS" to loop-player
Errors on Reload: Can't understand conditon every 60 seconds