game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Model", player)
leaderstats.Name = "leaderstats"
local money = Instance.new("IntValue", leaderstats)
money.Name = "Points"
money.Value = 0
end)
This script just makes a leaderstat called "Points". What do I add to make it so that when a player gets a kill using a sword it adds a certain amount to "Points"?

2 comments
Umm.... that's not in a gun...
I know it's not a gun. I mean like, there has to be a script in the gun which adds points upon a kill.