#mobstopper
1 messages · Page 1 of 1 (latest)
Yeah
Obvious AI, banned
Yeah, so AI is not allowed here ( #welcome-to-skunity rule 8 )
Ok well mb but I forgot how to skript so what can I do
can anyone help?
Well no.
- You haven’t explained your issue (“doesnt work” doesn’t provide insight)
- you havent written a meaningful attempt of code (or even brainstormed what steps/methods are needed/checked the docs) yourself
u don't know what i did at all its not understaing the 2nd to last line
worry about spawn.sk
Answered these errors in your other post
I dont know what you did because you’ve shown no evidence of it, and admitted to using AI to generate the code you did send.
A proper help request would look more like this:
Hi, im trying to stop certain types of mobs from spawning. I’ve added these restricted types to a list, and i’m trying to go through it in an
on spawn:event, but its not entirely working. Can someone help me figure out how to check a specific mob against my list? Thanks. Here’s my code:
ok here is a rerwitten script and i still can't get it working
options:
allowedMobs:
pig,
creeper,
magma cube
on spawn of entity:
if entity is armor stand:
stop
if name of entity is set:
stop
if type of entity is in {@allowedMobs}:
stop
cancel event
plz help
you cant put a list on multiple lines line that
you should also use the contains condition, as in is python
contains type of event-entity probably
idk anything abt skript can u help write a working one with me? same for the other
@elder marsh ?
x8ight suggests that you read https://sovdee.gitbook.io/skript-tutorials/
ig thats a no