I tried doing this:

wait(0.1)
plry = game.Players.LocalPlayer
local highrank = {
	"Todesscharfschutze",
	"RazorXX2",
	"madekid"
	}
for i, v in ipairs(highrank) do
	if plry.Name ~= v then
		script.Parent.Parent = game.Lighting
	end
end

I want like a table of players that can do certain stuff. I have no idea how to do this. Plz help.

2 comments

0

I’m a bit confused sorry if it’s obvious

0

ur doing good lol. i dont think theres something wrong in ur script.