Trying to get shulkers to be unable to teleport.

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

Flaming_Fins

Member
Aug 6, 2023
3
0
1
So I just want to mention first that I'm quite new to skript and I'm trying to learn it by going through threads and the online doc and I've tried many things for what I'm trying to do and nothing I have tried worked. I'm trying to make a skript for an RPG server so that shulkers cannot teleport.

I tried something very basic (see below) but I kinda hoped it would work.

Code:
on teleport:
    entity is a shulker
    cancel event

what I have found in the document for skript doesn't help me with this unless if I have just been searching for the wrong things there.
 
what are you asking for? what do you need help with? "entity is a shulker" is a condition. what you're will error and whenever any entity teleports the event will cancel.
 
what are you asking for? what do you need help with? "entity is a shulker" is a condition. what you're will error and whenever any entity teleports the event will cancel.
I'm not sure how to make it so shulkers can't teleport. Also yes I know "entity is a shulker" is a condition... I want it to be a condition because I don't want it so that everything that teleports can't tp