of     1   

Lunexus
#183004883Thursday, February 04, 2016 11:00 PM GMT

I have an enemy (a harmless squirrel) that I want to kill and have it give the player exp and gold. How would I do this?
Lunexus
#183017828Friday, February 05, 2016 2:19 AM GMT

I already have the leaderboard set up, just want to know how to add gold/exp
Lunexus
#183062914Saturday, February 06, 2016 12:27 AM GMT

Leaderboard is: game.Players.PlayerAdded:connect(function(player) local stats = Instance.new('IntValue', player) stats.Name = 'leaderstats' local level = Instance.new('IntValue', stats) level.Name = 'Level' level.Value = 1 local gold = Instance.new('IntValue', stats) gold.Name = 'Gold' gold.Value = 0 local experience = Instance.new('IntValue', stats) experience.Name = 'Exp' experience.Value = 0 end)
myactivetestplace
#183063297Saturday, February 06, 2016 12:34 AM GMT

If script.Parent(aka the squirrel).Humanoid.Health = 0 then gold + 1
Lunexus
#183071919Saturday, February 06, 2016 2:49 AM GMT

...Oh. Well that's easy, thanks

    of     1