Code:
every tick in "world":
loop all players:
set {_test} to loop-player's targeted silverfish
if {_test}'s name is "face":
make loop-player execute command "/execute as @s at @s if entity @e[type=minecraft:wither_skeleton,name=dontlook,distance=..5] run tag @s add dead"
So, I wanted to make a skript which can give players a tag calls "dead" when they are looking at a silverfish named "face" and a wither skeleton with the name "dontlook" is near them. It works perfectly on myself since i am an op but normal players are not allowed to trigger it as they dont have the permission. I have found some solutions about adding "as op" behind the command when you have Skutilities add-on. However, Minehut does not support that. Is there any other way to do so or maybe alternative add-on?