Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

when player kills other player gain 30 xp?

Asked by 8 years ago

Hi I have been scripting lots of stuff and I would like to know how I would make it so that if a player kills another player they earn 30 xp. Can you try to explain this to me?

1 answer

Log in to vote
0
Answered by 8 years ago

If you have a script for say a projectile in you and that projectile kills some one else. All that has to happen is it just really has to check the health of that other humanoid after it hits it. If it is below or equal to 0 then it would just add the xp to your current xp.

Ad

Answer this question