Script isn't printing anythin from table

local big = {
	["41268"] = 1;
	["9313475"] = 1;	
}

game.Players.PlayerAdded:Connect(function(player)
	if big[player.UserId] then
		print('finally')
	end
end)```
I was using my id and still doesnt work

your dictionary uses string types for keys, so try big[tostring(player.UserId)] instead as that’s a number

1 Like