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

Why doesnt this work?

Asked by 10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

I am working on a Gui admin system

--Mag's Commands V0.1

admins = {"magoo8","Player1","Player2","Player3"} --Put your name here

while true do wait(0.5) if game.Players:FindFirstChild(admins) then script.Parent.Open.Visible = true end end

0
Put it into code block so it is easier to read Tempestatem 884 — 10y

2 answers

Log in to vote
0
Answered by
0x72 20
10 years ago

Might work..


--Mag's Commands V0.1 admins = {"magoo8","Player1","Player2","Player3"} --Put your name here AdminEnabled = false if game.Players:FindFirstChild(admins) then AdminEnabled = true end
Ad
Log in to vote
-1
Answered by
Regate 0
10 years ago
--Mag's Commands V0.1

admins = {"magoo8","Player1","Player2","Player3"} --Put your name here

while true 
wait(0.5) 
if game.Players:FindFirstChild(admins) then 
script.Parent.Parent.Open.Visible = true
end

Pretty sure this might work.

Answer this question