function playerSaid( ply, saywhat, teamsay ) if string.find(saywhat,"Freeze") then player:Freeze( true ) end end hook.Add( "PlayerSay", "playerSaid", playerSaid );