Look @AridFights1 , its not a dictionary,its a table of players, you cannot use Changed
function on a table, you can use it mostly on an Instance, and trying to do it on tables may cause errors
for i, v in pairs(game.Players:GetPlayers()) do
v:WaitForChild("Kills").Changed:Connect(function()
print(v.Name)
print(v.Kills.Value)
end)
end
The reason why it does not print is, its not changing
Example: I do the same script like your script
Then
Table1
local players = {
{Player = v,
Kills = v.Kills},
{Player = v,
Kills = v.Kills}
}
Table2, both of these are same but this is easy to understand
local players = {
{Player = AridFights1,
Kills = 4},
{Player = AridFights2,
Kills = 1}
}
Explanation
When the player kills change, these values don’t change
You understood?
Listen, if a player kills change, the value in table2, which is also table1 does not change, but instead of keeping a number value in table, you can keep an instance, you can only use Changed
event on a instance, the 2nd mistake you did is tried to use changed on a number value
Just like @ProgrammerDMD reply, this is also same like his reply