Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you Create a Knockouts and Wipeouts Leaderboard?

1 answer

✓ Accepted answer

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)

3 comments

0

KOs and WOs are not being counted if a Player gets a KO or a WO.

0

Oh

0

I thought you meant ust the leaderboard :P

This discussion is preserved as it was. New answers, comments, and votes are closed.