So I have this line of code for Kohl’s Admin commands, located in the Settings
module script:
game.Players.PlayerAdded:Connect(function(plr)
if game.VIPServerOwnerId ~= 0 then
if plr.UserId == game.VIPServerOwnerId then
table.insert(Owners,plr.Name)
end
end
end)
I call this function right before the script returns all the other settings; in normal servers, it works, but in VIP servers, the owner of the VIP server does not get added to the Owner list. Why?