plr = game:GetService("Players").LocalPlayer

plr.Chatted:Connect(function(msg)
    if msg == ("Hammer") then 
        game:GetService("Players"):chat(":gear me 10468797")
    end 
end)

Does any one know how i can get this to ban on hit by the way this is a kohls admin house script and also the ban command is :ban