Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Whitelist problem for testers exempting joindate thing please read?

Asked by
UPumpkin -34
6 years ago

im trying to make it so if players are under the age of 900 days then they are kicked unless they are on the tester list

for _, Name in pairs(TesterList) do
    if plr.Name == Name then
    canplay = true
    end
    end

    if plr.AccountAge < 800 and canplay == false then
        plr:Kick(UnderageMessage)-- 261944 <ZELFEN29866329
    end

but once a player whitelisted to play joins then people under the age of 900 are able to join

1 answer

Log in to vote
0
Answered by
UPumpkin -34
6 years ago

nvm seems to work now ty

0
Then delete the question. RAYAN1565 691 — 6y
Ad

Answer this question