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

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

Asked by
PPJASK 19
3 years ago

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

Log in to vote
0
Answered by 3 years ago
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

Ad

Answer this question