I am trying to make a local function with a player’s userid like this
local Developers = game.Players.UserId == 123456789 or 987654321
I am not sure how to do UserId’s so could someone help me with this?
I am trying to make a local function with a player’s userid like this
local Developers = game.Players.UserId == 123456789 or 987654321
I am not sure how to do UserId’s so could someone help me with this?
local Developers = {
12345,
1234346,
164231641
}
-- search table for the user id
if table.find(Developers, Player.UserId) then
-- do stuff
end
Oh… That would make sense to do it like that. Thank you!