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

How do you Create a Knockouts and Wipeouts Leaderboard?

Asked by
SirPaco 66
8 years ago

How do you create a Knockouts and Wipeouts Leaderboard? The old Script for it is no longer functional.

0
You think I did not try that? Also, that is a tutorial on how to create leaderboard for money. SirPaco 66 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

Server Script:

game.Players.PlayerAdded:connect(function(plr) --Activates when player is added
local stats = Instance.new("Model")-- creates a model to hold stats.
stats.Parent = plr --makes the model inside the plr that joined.
stats.Name = "leaderstats" --Makes the model name "stats"

local KO = Instance.new("IntValue") 
KO.Parent = stats
KO.Name = "KO's"
KO.Value = 0 -- Makes the value of KO's 0 when players first start the game
local WO = Instance.new("IntValue") 
WO.Parent = stats
WO.Name = "WO's"
WO.Value = 0 
end)
0
KOs and WOs are not being counted if a Player gets a KO or a WO. SirPaco 66 — 8y
0
Oh supermanswaqq 65 — 8y
0
I thought you meant ust the leaderboard :P supermanswaqq 65 — 8y
Ad

Answer this question