print("Community Leaderboard script loaded")
function onPlayerEntered(newPlayer) local stats = Instance.new("IntValue") stats.Name = "leaderstats" local mins = Instance.new("IntValue") mins.Name = "Seconds" mins.Value = 1
mins.Parent = stats
stats.Parent = newPlayer
while true do
wait(1)
mins.Value = mins.Value + 1
end
end
game.Players.ChildAdded:connect(onPlayerEntered)

3 comments
no no i mean in leadeboard tab in leadeboard my script plays only for me how i can make for all players i need to put it in serverstorage?
Ah I see, in that case let me edit this.
Try now.