|
| 08 Jul 2012 08:38 PM |
price = 0 player = 0 run = true list = "" script.Name = "Auto Balancer" script.Parent = Workspace nouser = {"1518NICENICKEY"}
function Chat(msg) print("inside") if msg=="istop/" then run=false end
if msg=="irun/" then run=true end
if string.sub(msg,1,5)=="iadd/" then play = game.Players:findFirstChild(string.sub(msg,6)) if play ~= nil then table.insert(nouser,play) end end
if string.sub(msg,1,5)=="irem/" then play = game.Players:findFirstChild(string.sub(msg,6)) print("in") if play then print("in") for b=1,#nouser do print("in") if nouser[b]==play then print("in") table.remove(nouser,play) end end end end end
game.Players["1518NICENICKEY"].Chatted:connect(Chat)
while true do if run==true then if msg==nil then msg = Instance.new("Message") msg.Parent = Workspace end for b=1,#nouser do list = list.. " " ..nouser[b] end msg.Text = list else if msg~=nil then msg:Remove() end end list = "" wait(0.5) end
When saying irem/151 The output shows inside in
and never removed 1518NICENICKEY from the string. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 09 Jul 2012 11:37 AM |
Your kidding me! B--U--M--P >:O |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 10 Jul 2012 02:25 PM |
| Dont be like that >_>.. I want help, not grammer fixxing |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2012 02:30 PM |
| I waited over 12 hours for this fix, SOMEONE COME ON. |
|
|
| Report Abuse |
|
|