Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script to add points to leaderboard on KO's?

Asked by 8 years ago

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.

0
Code block please :D lomo0987 250 — 8y
0
This is a request... supermanswaqq 65 — 8y

Answer this question