of     1   

TheNewScripter
#23896651Thursday, April 08, 2010 4:02 AM GMT

admin = {"TheNewScripter"} function find(name, speaker, msg) chars = {} text = msg ppl = 0 local x = game.Players:GetChildren() for i = 1, #x do table.insert(chars, x[i]) if string.sub(string.lower(msg), 1, string.len(msg)) == string.sub(x[i], 1, string.len(msg)) then ppl = ppl + 1 if not ppl > 1 then return chars end end end end function chat(msg, speaker) if string.sub(msg, 1, 5) == "kill/" then local plyr = find(string.sub(msg, 6), speaker, msg) if plyr ~= nil then plyr.Character.Humanoid.Health = 0 end end end function join(player) for i, v in pairs(admin) do if player.Name == v then player.Chatted:connect(function(player) chat(player, msg) end ) end end end No output... Idk why it won't work... Help
TheNewScripter
#23896862Thursday, April 08, 2010 4:09 AM GMT

Bump... -.-
gyz
#23897479Thursday, April 08, 2010 4:29 AM GMT

Check the output and fix that first... and next time post in the scripter's forum.
gaius19
#23897782Thursday, April 08, 2010 4:42 AM GMT

Please don't... Post it in the Scripting Helper's Forum... player.Chatted:connect(function(player) chat(player, msg) end ) Should probably be: player.Chatted:connect(function(msg) chat(msg,player) end )
gustav165
#23899331Thursday, April 08, 2010 6:46 AM GMT

No, it should be: player.Chatted:connect(function(msg) chat(player.Name, player, msg) end )
gyz
#23939616Thursday, April 08, 2010 11:51 PM GMT

@gustav you're calling chat() with too many arguements.

    of     1