eEclpsis Posted July 23, 2023 Share Posted July 23, 2023 Hello everyone, its my first post here, so hi ! I'm eEclpsis, a French girl that love Minecraft and making skript for me and friends ! Actually, i have a little problem with my code, i search a lot of information on Wiki or Google but never find a correct awnser, here my code on damage of a player: if victim has permission "eclpsis.notarget": cancel the event delete targeted entity of victim What i want to make : I want to disable all target of hostile mobs, when player have a specific permission, the mobs have to cancel the target and damage when he see the player. If you have a solution or a wki to explain that, that gonna help me so much :) Link to comment Share on other sites More sharing options...
DanRub Posted July 24, 2023 Share Posted July 24, 2023 Hello, i might have solution for you, hope its what you need. on damage: if victim has permission "eclpsis.notarget": cancel event on entity target: if entity's target is a player: if entity's target has permission "eclpsis.notarget": cancel event Just LMK have a nice day. Link to comment Share on other sites More sharing options...
devyy Posted August 5, 2023 Share Posted August 5, 2023 (edited) on target: entity's target is a player entity's target has permission "eclpsis.notarget" cancel event If entity can't look at you it can't attack you Edited August 5, 2023 by devyy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now