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 script - Teams Counter ? Thank You !

Hi ! i would like to do a kills counter and the text changes. text = script.Parent

  • Thanks PPJASK

1 answer

Don't know about the second part but by kill counters I guess you mean leaderstats with Kills, if so, here is the script

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(Player)
local leaderstats = Instance.new("IntValue",Player)
leaderstats.Name = "leaderstats"
local Kills = Instance.new("IntValue",leaderstats)
Kills.Name = "Kills"
end)

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