Here's the Script :
local Part = script.Parent
local LB = Instance.new("IntValue")
local Score = Instance.new("IntValue")
function onEnter(Player)
LB.Name = "Leader Stats"
Score.Name = "Score"
Score.Value = 0
LB.Parent = Player
Score.Parent = LB
end
function onTouch(Brick)
local Plr =
Brick.Parent:findFirstChild("Humanoid")
if (Plr ~= nil)then
local Loc =
game:GetService('Players'):GetPlayerFromCharacter(Plr.Parent)
local Part = Loc.LB.Score
Score.Value = Score.Value + 1
end
end
game.Players.ChildAdded:connect(onEnter)
Part.Touched:connect(onTouch)

2 comments
I have no idea xD, Thanks!
Lol, no problem!