|
| 12 Mar 2016 08:14 AM |
Hello, I am YouSeenLily. I am looking for some help to make admin like E.I.S.S. Here is the script I know, but not want.
-- From YouSeenLily -- This is the script I do not want for my admin.
Admin = {"YouSeenLily","friend1"} -- My name is in it.
for a, x in pairs(Admin) do if Name == Admin then function chat(msg) if msg == "ff me" then Instance.new("ForceField",game.Workspace) end end end end
I do not like it. Can I get some help with the admin? I KIND of got it figured out though.
Anyone that can help reply, thx! |
|
|
| Report Abuse |
|
Dev_Ryan
|
  |
| Joined: 10 Mar 2013 |
| Total Posts: 243 |
|
|
| 12 Mar 2016 08:25 AM |
local AdminList = {"YouSeenLily","AddMoreHere","LikeThis"}
game.Players.PlayerAdded:connect(function(player) for i, names in pairs(AdminList) do if player.Name == names then player.Chatted:connect(function(msg) if string.sub(msg:lower(),2) == "ff me" then -- Example: ;ff me local Torso = player.Character:WaitForChild("Torso") Instance.new("ForceField",Torso) end end) end end end)
You're welcome! :D |
|
|
| Report Abuse |
|