#How i make the mob friendly to the owner
1 messages · Page 1 of 1 (latest)
u could just look up stuff it took 5 seconds to find this
Skript Version (do not put latest): I think Skript 2.2 (dev35/36c)
Skript Author: Bensku
Minecraft Version: 1.12.2
I want to make it so mobs do not hurt or target a certain player, but they attack every other player. Also, how do you give mobs swords?
ik
but
on right click:
if player's held item is bone:
if {mobs::%player's uuid%} is below 5:
spawn 1 skeleton at player
set name of last spawned skeleton to "&7%player% Skeleton"
add 1 to {mobs::%player's uuid%}
broadcast "&7ꜱᴘᴀᴡɴᴇᴅ &fꜱᴋᴇʟᴇᴛᴏɴ &3&l%{mobs::%player's uuid%}%&7/&3&l5"
send title "" with subtitle ""
play sound "entity.tropical_fish.death" to player
if target of last spawned skeleton is "%player%":
cancel event
else if {mobs::%player's uuid%} is above 4:
send title "&7ᴍᴀx ᴍᴏʙꜱ ᴜꜱᴇᴅ" with subtitle "&3&l%{mobs::%player's uuid%}%&7/&3&l5"
play sound "entity.ocelot.hurt" to all players
any errors???
also put 3 ` at the start and end of ur code when pasting it in discord
so it goes like
activate YEET
also