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

How to make kills counter ( text Label ), which result will be the same as on the leaderboard ?

How to make kills counter ( text Label ), which result will be the same as on the leaderboard ? I wanna make : file:///C:/Users/Sprzetowo/Desktop/jasko.pdf.png Thank u nad best regards ! -PPJASK

1 answer

wait(5)
-- Variables --
plr = game.Players.LocalPlayer
KillCount = plr.leaderstats.KillCount -- Change this to your leaderstats killcount
TextLabel = script.parent -- Change this to your text label

-- Script -- 
KillCount.Changed:Connect(function()
    TextLabel.Text = KillCount.Value
end)
 

This should work, if not, please reply and ill help further

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