Okay so I've made a magic fighting game that uses projectiles to kill others And I would like to get a money system from killing other players to use the money to unlock better moves
Problem is, any cash from kill tutorial I find only works for wielded tools like swords, and does not work with the projectiles.
any ideas?
I recommend making some sort of Combat Tag inside of the player that was hit with the id of the player who casted the magic. You could check if the player already has an existing tag to prevent any more tags from being created when the player is hit. If the target is killed with a tag on them, it rewards the player, or players, associated with the tag money. After a while you can also clear the tag. Good luck!