So far, what I have done is created this bit of code.
CheckIfAllowed = true
game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(CheckIfAllowed)
if plr == [INSERT NAME HERE] then return false
end
end)
end)
if CheckIfAllowed then -- Past here is working code
What I wanted to do is make it so that certain people are exempt from certain functions. However, this doesn't appear to be working. I wanted to know if there's any way to do this or not? Also, if someone can also tell me how to make a list of players from a local or something else like that instead of having the [INSERT NAME HERE] (so that it checks multiple people) it would be much appreciated.

1 comment
In line 5, it should be a string like this: ["The Players Name"], also your argument in line 4 shouldn't be a bool