Hey
I have this code and I would like to make the player damage the targeted player.
Problem is that this code does not make the player the attacker, it just damages the targeted player as if nothing hit them
I have tried:
force player to damage entity of player by 4
make player damage entity of player by 4
Searching the docs...
Any solution/separate way?
I have this code and I would like to make the player damage the targeted player.
Problem is that this code does not make the player the attacker, it just damages the targeted player as if nothing hit them
I have tried:
force player to damage entity of player by 4
make player damage entity of player by 4
Searching the docs...
Code:
if target entity of player is set:
if sharpsk region at player is not "Lobby":
damage target entity of player by 4
if sharpsk region at player is not "Lobby":
loop all entities in radius 2 of {_block}:
damage loop-entity by 4
Any solution/separate way?