The output says streak is not a valid member of player please help.
hint=Instance.new("Hint")
hint.Parent=workspace
hint.Name="LargestStreak"
while true do
highestStreak=0
p=""
for _,player in pairs(game.Players:GetChildren()) do
if player.streak.Value>highestStreak then
p=player.Name
highestStreak=player.streak.Value
end
end
hint.Text=p.." has the biggest streak with the kill streak of "..highestStreak.."!"
wait()
end

2 comments
Is the streak a leaderstat? Put line 5 before line 4. If it's in the while loop, it'll keep going back to 0.
no the streak works this is suppsoe to print the player with the highest streak but the player name is not showing up