Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

when player kills other player gain 30 xp?

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

✓ Accepted answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.