No errors or anything, no clue whats wrong with this.
local owner = {game.CreatorId} -- add UserIds in this format 'game.CreatorId, 39493, 304034' etc..
local admin = {} -- add UserIds like above.
local Int = Instance.new('IntValue')
game.Players.PlayerAdded:connect(function(plr)
for _,v in pairs(owner or admin) do
if plr.UserId == v then
print('hi')
end
end
end)

2 comments
connect is deprecated. Use Connect.
Thunder, its deprecated which means it isn't being updated. 'connect' still works as of current.