How?
1
!kick 2
Thanks sir's!
!kick 2
addhook("say", "KickAPlayer") function KickAPlayer(id, txt) 	if txt:lower():sub(1, 5) == "!kick" then 		local PlayerToKick = tonumber(txt:sub(6)) 		if player(PlayerToKick, "exists") then 			parse("kick " .. PlayerToKick) 		end 	end end
!kick 2
return 1
parse( "banip " .. player( PlayerToKick, "ip" ) )
parse( "banname " .. player( PlayerToKick, "name" ) )
if player( PlayerToKick, "usgn" ) ~= 0 then 	parse("banusgn " .. player( PlayerToKick, "usgn") ) end
parse( "slap " .. PlayerToKick )
Banaan
Admin_Table = {23450} RGBCLR = "255255255" -- Color for saying. function table.find(tab,val) for k, v in pairs(tab) do if v == val then return k end end return false end addhook("say","adminsay") function adminsay(id,txt) if txt == "rank" then return 0 end if string.sub(txt,1,4) == "@say" then txt = string.sub(txt,6) if table.find(Admin_Table,player(id,"usgn")) then msg("©"..RGBCLR..player(id,"name").." (Admin): "..txt) return 1 end end end Credit:Original lua is Starkkz
Admin_Table = {23450} RGBCLR = "255255255" -- Color for saying. function table.find(tab,val) for k, v in pairs(tab) do if v == val then return k end end return false end addhook("say","adminsay") function adminsay(id,txt) if txt == "rank" then return 0 end if string.sub(txt,1,4) == "@say" then txt = string.sub(txt,6) if table.find(Admin_Table,player(id,"usgn")) then msg("©"..RGBCLR..player(id,"name").." (Admin): "..txt) return 1 end end end addhook("say", "KickAPlayer") function KickAPlayer(id, txt) if txt:lower():sub(1, 5) == "!kick" then local PlayerToKick = tonumber(txt:sub(6)) if player(PlayerToKick, "exists") then parse("kick " .. PlayerToKick) end end end
addhook("say", "KickAPlayer") function KickAPlayer(id, txt) if txt:lower():sub(1, 5) == "!kick" then local PlayerToKick = tonumber(txt:sub(6)) if table.find(Admin_Table,player(id,"usgn")) then if player(PlayerToKick, "exists") then parse("kick " .. PlayerToKick) end end end end
Admin_Table = {} RGBCLR = "255255255" function table.find(tab,val) 	for k, v in pairs(tab) do 		if v == val then 			return k 		end 	end 	return false end function isAdmin(id) 	return table.find(Admin_Table,player(id,"usgn")) end function string:split(b) 	local cmd = {} 	if type(self) == "string" then 	if not b then match = "[^%s]+" else match = "[^"..b.."]+" end 	for word in string.gmatch(self,match) do 			table.insert(cmd,word) 		end 	end 	return cmd end addhook("say","onSay") function onSay(id,txt) 	if txt == "rank" then 		return 0 	end 	local s = txt:split() 	if s[1] == "@say" then 		txt = string.sub(txt,6) 		if isAdmin(id) then 			msg("©"..RGBCLR..player(id,"name").." (Admin): "..txt) 			return 1 		end 	elseif s[1] == "!kick" then 		local pl = tonumber(s[2]) 		if pl and player(pl,"exists") then 			parse('kick '..pl) 		end 		return 1 	end end
adddhook ("say","say") function say(txt,p) say2(txt,p) say3(txt,p) say4(txt,p) end