So.
Ive tried stuff like
local plr = game.Players.LocalPlayer
local admin = {"name1", "name2"} -- etc
if plr.Name == admin then
script.Parent.Open.Visible = true
else
script.Parent:Destroy()
end)
-- this script is the child of the CoreGUI thing
I do see my flaws, for example, i dont use V_i in pairs or something like that.
Only i am still new to coding. Sooo im basicly clueless.
And meanwhile im here, i also wanna know. How can i check if that "Admin" chatted a certain text?
example:
admin = "myname", "myfriend", "etc"
plr = game.Players.LocalPlayer
if plr.Name = admin then
plr.Chatted "/e WORD" then--how does this work? i dont know lol
print("get noob")
end)
Something like that. Im pretty sure that won't work.
So basicly an admin command thing i guess
Thanks in advance!
