Hello, this is my skript:
What im trying to do:
Is there any way i can make the person using this ability the attacker for the mobs killed?
For example:
If you use the ability and kill a mob u can still get the rare drops or custom drops.
Thanks!
JavaScript:
on right click:
if player's tool is iron sword named "&6Hyperion":
set {explosion} to true
create a fake explosion 1 meter above the player
damage all entities in radius 7 of player by 50
wait 1 tick
set {explosion} to false
on damage of a player:
if {explosion} is true:
cancel event
What im trying to do:
Is there any way i can make the person using this ability the attacker for the mobs killed?
For example:
If you use the ability and kill a mob u can still get the rare drops or custom drops.
Thanks!