Specific people allowed to click(simple script?)

You can try it:

game.Players.PlayerAdded:Connect(function(plr)
    if plr.Id == 2552781 then
        print("Allowed!")
    else
        print("Not allowed!")
    end
end)
1 Like

Not sure why this is the marked solution, since it’s not true. Using or here will check if the player’s Name is Ghost8058, or if the string “VeinTweek” is not nil/false (that is, always), or if the string “Roblox” is not nil/false. You can find this out with a quick test:

if "hi" == "bye" or "goodbye" then
	print(true) --> "true"
else
	print(false) -- never prints
end

You have to compare player.Name to each string and separate the individual comparisons with an or, like this:

if "hi" == "bye" or "hi" == "goodbye" then -- and so on
2 Likes