I want it so that for every kill a player gets they receive 5 points. I'm new to coding so I'm not that great at scripting.

This is the Script:

game.Players.PlayerAdded:connect(function(player) local stats = Instance.new('IntValue', player) stats.Name = 'leaderstats' local points = Instance.new('IntValue', stats) points.Name = 'Points' points.Value = 0 end)

I want a code that will add 5 points to the players total points.Value after getting 1 KO.

2 comments

0

Code block please :D

0

This is a request...