I watched a video by CovertCode that showed how to make a leveling system and gui. In his video it showed how to get exp from clicking a box. I made the script he made but I do not know how to make it give me exp from killing NPCs.
when you kill the npc update a numbervalue (your current xp) on the server and fire a remote to the client to tell them the updated xp amount