Ad
Log in to vote
0

How to use a table as a variable?

Asked by 4 months ago

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.

0
I’m a bit confused sorry if it’s obvious terraria265 5 — 4mo
0
ur doing good lol. i dont think theres something wrong in ur script. Dehydrocapsaicin 463 — 4mo

Answer this question