has we now know we can get points leaderboard,we can make the leaderboard,
first go to Build
then click on Insert object, then look for a "Script"
then when you found the Script duble click it
then go in to "explorer" then look for your Script
then click on the script that you inserted!
-----------------------------------------------------------------------------------------
then don't Delete anythink! then copy and paste this in to the script by right clicking then copy open up Script then right click paste
-----------------------------------------------------------------------------------------
function Entered(player)
local a = Instance.new("IntValue")
a.Name = "leaderstats"
local c = Instance.new("IntValue")
c.Name = "Points"
c.Value = 10
a.Parent = player
c.Parent = a
end
game.Players.PlayerAdded:connect(Entered)
c = game.Players:GetChildren()
for i=1, #c do
Entered(c[i])
end
|