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

How to add a point system to my Name that Character game?

Asked by 8 years ago

I have made my first game and it is a Name that Character game. I wanted my game to add a point to a player for each character they got right. I started out by putting a leaderboard and made this :

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

Now i'm stuck and don't know how to make it so that when a player gets a character correct they get a point. Thanks for the help

-TheApocalypseDemond

Answer this question