So im trying to make a sword that has multiple abilities, but one of the abilities damages everything except players but i want it to damage everything. Help?
Code:
if {ShaggyWeapon::%player%} is 3:
push the player up at speed 1.1
wait 16 ticks
set {_ShaggyWhat2} to location of player
loop 5 times:
teleport player to {_ShaggyWhat2}
wait 1 tick
drawDot count 20, particle endrod, speed 0.1, center location of player, rainbowMode false, visibleRange 50, pulseDelay 0, keepFor 2 tick
loop all entities in radius 15 of the player:
if loop-entity is not the player:
make the player damage loop-entity by 50
wait 1 tick